TinyMusic
TinyMusic copied to clipboard
Added pulse waves (with modulation), this time without any issues.
This took too long, but now it's done.
// Create a pulse wave by setting a sequence's wave type to 'pulse' and it's pulseWidth to anything below 1.0
seq.waveType = 'pulse';
seq.pulseWidth.gain.value = 0.52;
seq.play( when );