Rio Posted February 1, 2007 Report Share Posted February 1, 2007 I've tested the AllNotesOff and AllSoundsOff Midi Messages which i founded in MIDI documention on several sides:MIOS_MIDI_TxBufferPut(123); MIOS_MIDI_TxBufferPut(0); orMIOS_MIDI_TxBufferPut(120); MIOS_MIDI_TxBufferPut(0); but nothing happens sadly. Any idea?e.g. in my tests, Midibox SID doesn't release the played notes.It would be interessting, how TK handle a NoteOff for all played notes in SEQ-Application by pressing the STOP Button.Greets Rio. Quote Link to comment Share on other sites More sharing options...
bill Posted February 1, 2007 Report Share Posted February 1, 2007 Hello Rio !You forget to set the midi channel !!MIOS_MIDI_TxBufferPut(176 + i);//Controller Chn i MIOS_MIDI_TxBufferPut(123);//ALL NOTE OFF // http://www.borg.com/~jglatt/tech/midispec/ctllist.htm MIOS_MIDI_TxBufferPut(0x00); Here is a function that kill notes on every channels : void ALL_NOTE_OFF(){//KILL EVERY NOTES unsigned char i=0; for(i=0;i<15;i++){ MIOS_MIDI_TxBufferPut(176 + i);//Controller Chn i MIOS_MIDI_TxBufferPut(123);//ALL NOTE OFF // http://www.borg.com/~jglatt/tech/midispec/ctllist.htm MIOS_MIDI_TxBufferPut(0x00); } return; } Quote Link to comment Share on other sites More sharing options...
Rio Posted February 1, 2007 Author Report Share Posted February 1, 2007 it didn't work with your code too...! i've tested it yesterday.. :-\the osc's of sids are playing further the last tones...i have tested also with a midi channel 1 command before command 120 or 123MIOS_MIDI_TxBufferPut(144); ....but here the results are the same, nothing changed for instr. in channel 1. Quote Link to comment Share on other sites More sharing options...
audiocommander Posted February 1, 2007 Report Share Posted February 1, 2007 Bill's code is right.Now you should look up in the MIDI-Implementation Chart if this is supported by the device: there's a file called "sid_cc_implementation_chart.txt" inside the sid directory that contains the entry:[tt] 123 | 7Bh | Assign Wavetable Parameter #3 to Controller | 0: off | 0[/tt]so ALL NOTES OFF is not supported with the SID application.Regards,Michael Quote Link to comment Share on other sites More sharing options...
Rio Posted February 1, 2007 Author Report Share Posted February 1, 2007 mhh... :-\ tss.. if that is on device to device different ... than i've to think about another technic in my app. ;) Quote Link to comment Share on other sites More sharing options...
bill Posted February 1, 2007 Report Share Posted February 1, 2007 tss.. if that is on device to device different ... Hey, dont worry, it works with most of them ;) Quote Link to comment Share on other sites More sharing options...
Rio Posted February 1, 2007 Author Report Share Posted February 1, 2007 it could be interessting how tk handle this in his SEQ app... if i press stop all channels are turned off (seems without much effort) .. the MBSID device too. Quote Link to comment Share on other sites More sharing options...
audiocommander Posted February 1, 2007 Report Share Posted February 1, 2007 it could be interessting how tk handle this in his SEQ appjust look into the implementation charts. they can be found in any relevant project that receives/sends midi! Quote Link to comment Share on other sites More sharing options...
moxi Posted February 1, 2007 Report Share Posted February 1, 2007 you can try to send note OFF messages for all note, maybe with a loop that increment the note number until all are Off...I think it's what is done in the seq, but only for notes who are enabled... Quote Link to comment Share on other sites More sharing options...
Rio Posted February 1, 2007 Author Report Share Posted February 1, 2007 first, thxs for all fast replies... :)@moxi: yes same thought... maybe there will be used channels and last note numbers stored...@audiocommander: do you mean this file?: mbseqv3_cc_implementation.txtI don't know, but this tells me nothing about how seq stops all notes on channels to other devices..and watching source, sadly i can't interpret ASM-Code .. ;)Greets Rio. Quote Link to comment Share on other sites More sharing options...
audiocommander Posted February 1, 2007 Report Share Posted February 1, 2007 It's not available in mbseqv2.And yes, I meant that file. But mbseqv3 isn't released yet, so you got to try. A midi-implementation chart is normally done with all the rest of the docs once a version has a first stable release.0x40/ 64| - | - | reserved ... | | | 0x7f/127| | | [/code] Quote Link to comment Share on other sites More sharing options...
Rio Posted February 1, 2007 Author Report Share Posted February 1, 2007 besides: is the xxx_cc_implementation.txt a describtion for incoming or outgoing Commands of a application? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.