p5 sound - various issues

edited December 2016 in p5.js Library Questions

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/

  1. Notes are sometimes played wrong or not at all. The console log outputs the correct frequency though
  2. Sometimes upon page load, the first note is triggered before the actual sequence is playing
  3. Is this the correct way of adding reverb/delay to multiple sources?
  4. It seems delay.amp() has no effect?
  5. It seems masterVolume() has no effect?
  6. Is it possible to set the audio buffer size to avoid crackles?
  7. How long is the gate time for play()?
Tagged:

Answers

  • edited December 2016

    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.

  • edited December 2016

    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.

Sign In or Register to comment.