From the original SynthMaker forum (2004–2014), with its members’ names and dates.
sicnezz ·
hi all,
i'm trying to have a button which sends midi data (a chord) when clicking on it.
i used a push button and a noteevent.
it works but the prob is that the note plays a fixed duration and is not synced to the button (note off on release)
any ideas how to do that?
another prob: i created a instance of the button+noteevent for having several buttons (each with a different note).
but the 2nd instance wont play on click - whats wrong?
thx so far,
tom
oddson ·
Welcome to the forum Tom 🙂
The note event primitive takes a duration value for how long the note holds. You need to use the midi event and send 'note on' and 'note off' events for each note. Thats what my midi chord example was doing in your first thread.
'Note on' is midi status message 144 and note off is 128.
On the other problem I'd need to see the file.
Wrote something here? To have a post removed or your name hidden, write to [email protected].