denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] MIDI control thru directives.


From: Richard Shann
Subject: Re: [Denemo-devel] MIDI control thru directives.
Date: Fri, 05 Jun 2009 20:10:35 +0100

The next thing to do should be to allow you to change channel (I think).
This is similar to changing volume, but not so complex (for volume I
have allowed absolute, increment and percent change in volume, for
channel we just have a new value to switch to, and if if
DENEMO_OVERRIDE_ONCE is set, switch back again after the note/chord).
Richard

On Fri, 2009-06-05 at 20:04 +0100, Richard Shann wrote:
> I have implemented quite a bit of the MIDI control infrastructure.
> As an example, the following script now works:
> 
> ;;;;;;;;;;
> (d-DirectivePut-standalone-minpixels "StepVolume" 20)
> (d-CursorLeft)
> (d-DirectivePut-standalone-override "StepVolume" (logior
> DENEMO_OVERRIDE_VOLUME DENEMO_OVERRIDE_SHIFT))
> (d-DirectivePut-standalone-midibytes "StepVolume" "10")
> (d-DirectivePut-standalone-display "StepVolume" "piu forte")
> (d-DirectivePut-standalone-postfix "StepVolume" "^\\markup {\\bold \
> \italic piĆ¹ \\dynamic f }")
> (d-RefreshDisplay)
> ;;;;;;;;;;
> 
> This script inserts a standalone directive which puts piu forte over the
> previous note and increases the volume by 10.
> 
> In the script you can see a value DENEMO_OVERRIDE_VOLUME, which tells
> you what is being overridden and the DENEMO_OVERRIDE_SHIFT says that the
> value in midibytes (10 in this case) is to be used as an
> increment/decrement to the current value. Everything else here is in a
> pretty basic state, no fancy graphic etc.
> 
> I have not started on things like cresc etc.
> 
> Richard
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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