Jump to content

Recommended Posts

Posted

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);

or

MIOS_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.

Posted

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;
}

Posted

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 123

MIOS_MIDI_TxBufferPut(144);

..

..

but here the results are the same, nothing changed for instr. in channel 1.

Posted

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

Posted

mhh... :-\ tss.. if that is on device to device different ... than i've to think about another technic in my app. ;)

Posted

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.

Posted

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...

Posted

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.txt

I 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.

Posted

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]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...