Priest of the Order of the Butterfly
Posts: 761 from 2011/11/30
I have finally assembled an MT32-Pi by utilising a RPi3A+ and a Bulky MT32 Pi hat with a popular no name usb-midi cable (it was compliant with WinXP and Vista). The cable gets bound under Audio class, noting camdusbmidi.class on prefs/usb/devices. MT32 plays fine MT32 and Fluidsynth various Soundfonts, while cable leds also work (power and midi out - red/green when operating).
Every now and then I get a complete system freeze when I use midi. Specifically I have tested latest ScummVm (and an older version 2.5) with Monkey Island and the likes, plus Horny (including the latest beta executable). I have used both MorphOS 3.17 original and latest camd.library and class/usb/camdusbmidi.class as provided on BarsnPipes though I haven't been able to playback anything for the latter program (really weird gui :P).
I have tested the connection under an externally powered usb hub (d-link) which is connected to the onboard usb 1.1 of my Sawtooth PMAC, directly on the onboard usb 1.1 port and on USB 2.0 port of my NEC PCI.
Result is always the same, after 2-10 mins of midi playback, I get system freeze.
I also reduced baud rate of usb connection from MT32-Pi cfg, suspecting that it might reduce the interrupts (wild guess) but again it was a no-go.
SYS:Utilities/Midi/Midi Logger is also operational as far as I can tell.
I do get huge midi output on LogTool when I playback midi and also the following upon system boot:
29.196| camd.library - CreateMidiA - New MidiNode 0x156ee4f4
29.196| Signal bit: 30
29.196| camd.library - AddMidiLinkA - MidiLink Owernode 156ee584
29.196| camd.library - SetMidiLinkAttrsA: Midilink: 156ee574, Tags 15ab1df0
29.197| camd.library - SetMidiLinkAttrsA: 80000041:158f0834
29.197| camd.library - SetMidiLinkAttrsA - Creating cluster: USB Midi Cable.out
29.197| camd.library - SetMidiLinkAttrsA - Adding cluster 15a57a14 named USB Midi Cable.out
29.197| camd.library - SetMidiLinkAttrsA - Cluster: 15a57a14 (USB Midi Cable.out)
29.197| camd.library - SetMidiLinkAttrsA - Adding midilink 15a57a14 to cluster 156ee574 (USB Midi Cable.out) in mcl_Receivers
29.197| camd.library - AddMidiLinkA - Added MidiLink 156ee574 of type 0. Binded to MidiNode 156ee4f4
29.197| camd.library - AddMidiLinkA - MidiLink Owernode 156ee60c
29.197| camd.library - SetMidiLinkAttrsA: Midilink: 156ee5fc, Tags 15ab1df0
29.197| camd.library - SetMidiLinkAttrsA: 80000041:158f0944
29.197| camd.library - SetMidiLinkAttrsA - Creating cluster: USB Midi Cable.in
29.197| camd.library - SetMidiLinkAttrsA - Adding cluster 156ee684 named USB Midi Cable.in
29.197| camd.library - SetMidiLinkAttrsA - Cluster: 156ee684 (USB Midi Cable.in)
29.197| camd.library - SetMidiLinkAttrsA - Adding midilink 156ee684 to cluster 156ee5fc (USB Midi Cable.in) in mcl_Senders
29.198| camd.library - AddMidiLinkA - Added MidiLink 156ee5fc of type 1. Binded to MidiNode 156ee4f4
Any ideas? 'cause once you go midi, you cannot look back.