Closed jsr606 closed 3 years ago
Tone.note_on(48, 127, 0.5f) yields NullPointerException
example code not working
import wellen.*; int i = 0; void setup() { Wellen.dumpMidiOutputDevices(); Tone.start("midi", "BeatStep [hw:1,0,0]"); } void draw() { Tone.instrument(1); Tone.note_on(48+i,127,0.5f); i = i + 3; i = 1 % 12; delay(100); }
this bug is now fixed for MIDI context … for OSC it is however still not working.
added support for OSC tone engine as well.
Tone.note_on(48, 127, 0.5f) yields NullPointerException
example code not working