You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The best way to approach this problem would be to get into the sequencer_main_func function in stat_engine.ml. This function is the one that will sequencer and send MIDI notes to the MIDI port, using sleep to space out the notes and beats in time.
In fluidsynth, sending a note to MIDI channel 10 should be enough to trigger the General MIDI drum (maybe @pitag-ha can double check.).
On MacOS the setup will likely need to be a little different, feel free to ask me any question if this is the platform you are using.
The text was updated successfully, but these errors were encountered:
In fluidsynth, sending a note to MIDI channel 10 should be enough to trigger the General MIDI drum (maybe @pitag-ha can double check.).
Yay, I've just checked this by sending the stat_engine output to channel 10 - using our fantastic new channel feature for message_on. I first tried channel 10 and got the same result as always. However, since we keep on getting off-by-one errors on this project, I've also tried for channel 9 and it works indeed.
It sounds amazing btw! We should have it as a feature...I've just opened an issue for it, so that we don't forget.
However, since we keep on getting off-by-one errors on this project, I've also tried for channel 9 and it works indeed.
Ha yeah, this is because MIDI channel one really is channel 0000. I think it's counter intuitive but our API is low level-ish so it make sense to have it that way anyway.
And yeah, classic off-by-one cardio-crumble shenanigans. 🙃
For this, issue #17 should be completed in order to send the kick note to another channel.
For every beat in
stat_engine
's sequencer, we would like to send a single kick to MIDI channel 10.Which value a kick note should be is described in the General MIDI chart. (here for more information about General MIDI).
The best way to approach this problem would be to get into the
sequencer_main_func
function instat_engine.ml
. This function is the one that will sequencer and send MIDI notes to the MIDI port, usingsleep
to space out the notes and beats in time.In
fluidsynth
, sending a note to MIDI channel10
should be enough to trigger the General MIDI drum (maybe @pitag-ha can double check.).On MacOS the setup will likely need to be a little different, feel free to ask me any question if this is the platform you are using.
The text was updated successfully, but these errors were encountered: