Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

The Ekdahl FAR - Command language: Difference between revisions

From KNAS Wiki
No edit summary
No edit summary
Line 140: Line 140:


'''FAR < 1.1:'''
'''FAR < 1.1:'''
 
<pre>
The ''command'' responsible for mapping ''command strings'' to different ''MIDI messages'' is ''midieventhandler'' or ''mev'' for short. The first ''parameter'' of ''mev'' is the type of ''MIDI message'' that we want to remap
The ''command'' responsible for mapping ''command strings'' to different ''MIDI messages'' is ''midieventhandler'' or ''mev'' for short. The first ''parameter'' of ''mev'' is the type of ''MIDI message'' that we want to remap


Line 152: Line 152:


The second ''parameter'' is the ''command string'' that is to be associated with the ''MIDI Message'' - with the exception of the ''cc''-type, here the second ''parameter'' is the ''controller number'' (0 - 127) and the <u>third</u> ''parameter'' is the ''command string''.
The second ''parameter'' is the ''command string'' that is to be associated with the ''MIDI Message'' - with the exception of the ''cc''-type, here the second ''parameter'' is the ''controller number'' (0 - 127) and the <u>third</u> ''parameter'' is the ''command string''.
</pre>


<pre>
'''FAR 1.1:'''
'''FAR 1.1:'''


Line 164: Line 166:
* '''programchange/pc''''':commands'' - Sets the commands executed for a ''program change MIDI message''
* '''programchange/pc''''':commands'' - Sets the commands executed for a ''program change MIDI message''
* '''continuouscontrollerdata/ccd''''':controller:commands'' - Sets the commands executed for ''continuous controller'' no ''controller''
* '''continuouscontrollerdata/ccd''''':controller:commands'' - Sets the commands executed for ''continuous controller'' no ''controller''
</pre>


We can of course use the ''rqi''-command to check the current mapping, below we are asking what the current ''command string'' associated with the ''pitch bend'' ''MIDI message'' is<pre>
We can of course use the ''rqi''-command to check the current mapping, below we are asking what the current ''command string'' associated with the ''pitch bend'' ''MIDI message'' is<pre>
FAR < 1.1:
rqi:mev:pb
rqi:mev:pb
FAR 1.1:
rqi:mcf.mc.pb
</pre>This may return something like<pre>
</pre>This may return something like<pre>
[irq]bchsh:pitch*4
[irq]bchsh:pitch*4