p5.js-sound
p5.js-sound copied to clipboard
Change the name of setPitch() function
Hi, I was kinda confused by the name of the setPitch() function in this piece of code because its setting the playback rate of the sound file when we provide it with a note value. If its so then shouldn't it be setRate() (or something similar...) instead ? :thinking: https://github.com/processing/p5.js-sound/blob/a74dd7eadba27a1e27c46cc7b523faf1b2867dc5/src/soundfile.js#L890-L893