bugDenemo - Bugs: bug #28469, DENEMO_OVERRIDE_CHANNEL always...

 
 

bug #28469: DENEMO_OVERRIDE_CHANNEL always sets to channel 1

Submitter:  -Deleted Account- <steele>
Submitted:  Sun 03 Jan 2010 04:26:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Jan 2010 04:52:37 PM UTC, 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.


Richard Shann <rshann>
Group administrator
Sun 03 Jan 2010 04:26:30 PM UTC, original submission:  

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

this script does not set the channel to channel 4 but to channel 1. 4 can be any number, it just does not work.

Also tested 04 or 12 or "4" as string. a string is plainly wrong, the rest is not working.

-Deleted Account- <steele>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Posted a comment)
  • -email is unavailable- added by steele (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-01-03 rshann StatusNone Fixed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code