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

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]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...