[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] MIDI channel change during a track

From: Richard Shann
Subject: [Denemo-devel] MIDI channel change during a track
Date: Mon, 10 Aug 2009 07:13:59 +0100

If you put a cursor on a note and execute this

(d-DirectivePut-chord-midibytes "chan" "0xC9 0x00")

from the scheme window, it attaches a directive to output the bytes 0xC9
0x00 in the MIDI stream at that point (before the noteon in fact).

0xC0 is channel/prog change
   9 is the channel
0x00 is the program number aka bank

I have checked that, on playback, these bytes are inserted into the
stream, and that these are the same as are inserted at the start of the
track when you select Channel 9 program 0 in the Staff properties.

However, playing back though timidity I hear no channel change, the
message appears to be responded to only when it occurs at time 0 on the

Does anyone know what the correct semantics are? Is this just timidity?

BTW you may want to add the line 
(d-DirectivePut-chord-display "chan" "channel 9")
as well, so that you can see in the display that you have added the
channel change instruction.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]