Page 1 of 1

Posted: 04 Jan 2009, 20:31
by nelson
Hi,

I have function that once a cycle sends to midi output of module some midi message.

Its working, mesage is changing once a cycle .. but ... its all the time transmited thru the wire, not only once a cycle.

Question : what midi message is idle message, or how to send message and 'clear' midiOut parameter ... it cant be 0.. i don't know...

help :)

Posted: 05 Jan 2009, 08:42
by bsork
There is now such thing as an "idle" MIDI message.

I'm not sure if I understand what you mean when you say it is changing vaue as it should, but transmitted more than once per cycle/block. MIDI data (except sysex) are sent as arrays of MIDI records, and if you want only one value per cycle, you should set the length of the array to 1 and update only element number 0. If you want to clear the array (= no MIDI message), set the length to 0.