I've started playing around with the sound library but ran into a couple of issues that I'm unsure are bugs or issues on my end. See demo here: https://jsfiddle.net/gs11/Lkv84nhw/36/
- Notes are sometimes played wrong or not at all. The console log outputs the correct frequency though
- Sometimes upon page load, the first note is triggered before the actual sequence is playing
- Is this the correct way of adding reverb/delay to multiple sources?
- It seems delay.amp() has no effect?
- It seems masterVolume() has no effect?
- Is it possible to set the audio buffer size to avoid crackles?
- How long is the gate time for play()?
Answers
4 & 5: Seems to be a timing issues. If I do it later, in either draw() or let's say..upon mouse click, it works fine.
7: Checking the source code it seems to be 0 BUT it waits for the attack & decay time which is different from how synthesizers usually work.