-
I’m now developing Kepler-X multifunction expansion board for X68000. Kepler-X has many functions like PCM, FM Audio, MIDI, Memory etc. Yesterday, I have successfully gotten mt32-pi work on the Kepler-X. MIDI signal is directly input to mt32-pi from FPGA. The I2S sound is back into FPGA and mixed with other sounds. Finally all sounds are output from S/PDIF or analog 3.5mm audio jack. https://twitter.com/kunichiko/status/1603389470308716545?s=20&t=ZwFH2E3W7BbF0t5vO2oolw It worked fine but I have one problem. If the reset button on the X68000 is pushed, all system components are restart except mt32-pi. So if I push reset button while playing game with MIDI sound, mt32-pi continue out some sounds because MIDI note off will never send to mt32-pi. I also read the MT32PiHat schematic for MiSTer, but I couldn't understand the way to reset. So I want to ask someone, which way is the best to stop all notes on mt32-pi after system was resetted.
Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @kunichiko, libmt32emu and FluidSynth both implement the All Notes Off messages (if I remember correctly) and mt32-pi implements the All Sound Off message for both synthesizers, so Plan A and Plan B should work for your purposes. Additionally, if you would like mt32-pi to warm-reboot, you can send SysEx message |
Beta Was this translation helpful? Give feedback.
Hi @kunichiko,
libmt32emu and FluidSynth both implement the All Notes Off messages (if I remember correctly) and mt32-pi implements the All Sound Off message for both synthesizers, so Plan A and Plan B should work for your purposes.
Additionally, if you would like mt32-pi to warm-reboot, you can send SysEx message
F0 7D F0 F7
to reboot the Raspberry Pi. More information is available at the wiki page.