denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] [bug #28469] DENEMO_OVERRIDE_CHANNEL always sets to chann


From: Richard Shann
Subject: [Denemo-devel] [bug #28469] DENEMO_OVERRIDE_CHANNEL always sets to channel 1
Date: Sun, 03 Jan 2010 16:52:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.16) Gecko/20080528 Epiphany/2.22

Update of bug #28469 (project denemo):

                  Status:                    None => Fixed                  

    _______________________________________________________

Follow-up Comment #1:

(d-DirectivePut-standalone-override "ChannelChange" (logior
DENEMO_OVERRIDE_CHANNEL DENEMO_OVERRIDE_STEP))
(d-DirectivePut-standalone-midibytes "ChannelChange" 4) 

the d-DirectivePut-xxx-xxx commands all take two strings, a tag and the thing
to be put. So

(d-DirectivePut-standalone-midibytes "ChannelChange" 
"4")
should create a directive with the midibytes field containing a single byte,
the number 4.
The other line creates a directive with the override field set to a value.
Probably the problem you have is that of creating two directives instead of
one. The first would not do anything, and the second would insert a MIDI
message comprising a single byte, 4 into the MIDI stream, which would be
invalid. The old way to fix this was with a d-CursorLeft after the first line.
But
There is a command 
(d-Directive-standalone <tag>)
which makes this easier to code.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28469>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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