[Top][All Lists]

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

[Denemo-devel] New denemo-module: Command Lists

From: Nils Gey
Subject: [Denemo-devel] New denemo-module: Command Lists
Date: Sun, 6 Feb 2011 13:39:16 +0100

Hello list,

there is a new file actions/commandlist.scm.

A command list is a strucuture that holds several connected commands in
order. You can then scroll through these commands, or in other words:
Toggle with multiple stages.

If you call the following command it will switch to the next prevailing

(CommandListScrollUp CommandList::PREVAILINGDURATION

the opposite direction is CommandListScrollDown

The main idea behind this is to save keys. This is not important for a
computer keyboard but it is for midi controllers. Binding the above
commands to the modwheel gives you the control to change the duration
without taking your hand from the midi keyboard.

command lists are not circular but their beaviour is: If you reach one
end and ScrollUp or Down again you will end up at the other side again.

Possible other usecases are: Scrolling through barlines, dynamic marks
or pentatonic/hexatonic etc. cursor movement (see example in

The last one is not possible directly because a scroll will always
fail if it can't figure out the current value or if this value is
unknown to the command list:

A command list is not good for anything "analog" or with free
parameters. For example you can't use it with zoom or the
positioning of a display directive because these take arbitrary numbers
which cannot be parsed. For such commands you will need another script
that first rounds those parameters to a grid of known values.

I hope this will make controlling Denemo a bit easier again.


reply via email to

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