mmckegg / web-audio-school

An intro to the Web Audio API by a series of self-guided workshops.
408 stars 40 forks source link

12. Play a sequence of pitched samples - AudioBufferSourceNode.detune #12

Open pldiiw opened 8 years ago

pldiiw commented 8 years ago

Hello, In the 12th exercise, there's this sentence:

Unfortunately, AudioBufferSourceNode doesn't have a detune option like the OscillatorNode does.

Actually, it is avalaible and it is working (I got the problem correct by using player.detune.value = transpose * 100).

mmckegg commented 8 years ago

Thanks for letting me know. Looks like it has been available for a while - this will have to be rewritten.