We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914ab25 commit ccc07a9Copy full SHA for ccc07a9
examples/_monosynth_basic/sketch.js
@@ -14,7 +14,7 @@ function setup() {
14
15
function mousePressed() {
16
// pick a random midi note
17
- var midiVal = round( random(50,72) );
+ var midiVal = midiToFreq(round( random(50,72) ));
18
monoSynth.triggerAttack(midiVal, random() );
19
}
20
0 commit comments