this section had v7 syntax like
"effect activate" instead of 8's "effect_active"
etc, yes i', bored.
Commands
The most basic command would consist of only a verb (like "play" or "pause").
Optionally, the verb can be accompanied by different modifiers and parameters:
- deck: you can specify which deck the verb act upon by adding "deck xxx" in front of the verb. xxx can be "1", "2", "left", "right", "default" or "active". ("1"/"left" and "2"/"right" are synonyms).
- parameters: the verb can be followed by one or two parameters. The function of these parameters depends on the verb. parameters can be strings, percentages, boolean, times, integer values, or decimal values.
- effects: for verbs acting on effects, you need to prepend the verb with the keyword "effect" and underscore "_" , optionally followed by the effect name or effect slot number: "effect_active" or "effect_slider 'flanger' 1 100%".
- sampler: for verbs acting on the sampler, you need to prepend the verb with the keyword "sampler" and underscore "_", optionally followed by the sampler slot number: "sampler_volume 3 100%".
- queries: all verbs usually can be queried for their 'state' and returns a boolean. But some specific queries that need to return some text or numbers, need to use the keyword "get" before the verb: "get time_ms".
- temporary action: you can specify that the verb is to act only while the button is pressed by adding "while_pressed" at the end of the command: "volume 100% while_pressed".
- blinks: for queries, you can add "blink" or "blinkfast" to get the boolean answer blinking between true and false if the original answer was true: "play blink" [Deprecated: use the verb "blink" instead: "play ? blink : nothing"]
"effect activate" instead of 8's "effect_active"
etc, yes i', bored.
Commands
The most basic command would consist of only a verb (like "play" or "pause").
Optionally, the verb can be accompanied by different modifiers and parameters:
- deck: you can specify which deck the verb act upon by adding "deck xxx" in front of the verb. xxx can be "1", "2", "left", "right", "default" or "active". ("1"/"left" and "2"/"right" are synonyms).
- parameters: the verb can be followed by one or two parameters. The function of these parameters depends on the verb. parameters can be strings, percentages, boolean, times, integer values, or decimal values.
- effects: for verbs acting on effects, you need to prepend the verb with the keyword "effect" and underscore "_" , optionally followed by the effect name or effect slot number: "effect_active" or "effect_slider 'flanger' 1 100%".
- sampler: for verbs acting on the sampler, you need to prepend the verb with the keyword "sampler" and underscore "_", optionally followed by the sampler slot number: "sampler_volume 3 100%".
- queries: all verbs usually can be queried for their 'state' and returns a boolean. But some specific queries that need to return some text or numbers, need to use the keyword "get" before the verb: "get time_ms".
- temporary action: you can specify that the verb is to act only while the button is pressed by adding "while_pressed" at the end of the command: "volume 100% while_pressed".
- blinks: for queries, you can add "blink" or "blinkfast" to get the boolean answer blinking between true and false if the original answer was true: "play blink" [Deprecated: use the verb "blink" instead: "play ? blink : nothing"]
geposted Sat 27 Feb 16 @ 6:05 pm