/[svn]/linuxsampler/trunk/Documentation/lscp.xml
ViewVC logotype

Diff of /linuxsampler/trunk/Documentation/lscp.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 944 by schoenebeck, Sun Nov 26 16:29:57 2006 UTC revision 1001 by schoenebeck, Wed Dec 27 16:17:08 2006 UTC
# Line 11  Line 11 
11  <?rfc symrefs="yes" ?>  <?rfc symrefs="yes" ?>
12  <?rfc sortrefs="yes"?>  <?rfc sortrefs="yes"?>
13  <?rfc iprnotified="no" ?>  <?rfc iprnotified="no" ?>
 <?rfc strict="yes" ?>  
14    
15  <rfc category="std" ipr="full2026" docName="LSCP 1.2">  <!-- FIXME: next attribute should actually be "yes", temporarily disbled due
16         to an annoying "missing Normative/Informative References" error message -->
17    <?rfc strict="no" ?>
18    
19    <rfc category="std" ipr="full3978" docName="LSCP 1.2">
20      <front>      <front>
21          <title>LinuxSampler Control Protocol</title>          <title>LinuxSampler Control Protocol</title>
22          <author initials='C.S.' surname="Schoenebeck" fullname='C.          <author initials='C.S.' surname="Schoenebeck" fullname='C.
# Line 31  Schoenebeck'> Line 34  Schoenebeck'>
34                  <email>schoenebeck at software minus engineering dot org</email>                  <email>schoenebeck at software minus engineering dot org</email>
35              </address>              </address>
36          </author>          </author>
37          <date month="November" year="2006"/>          <date month="December" year="2006"/>
38          <workgroup>LinuxSampler Developers</workgroup>          <workgroup>LinuxSampler Developers</workgroup>
39          <keyword>LSCP</keyword>          <keyword>LSCP</keyword>
40          <abstract>          <abstract>
# Line 2571  Schoenebeck'> Line 2574  Schoenebeck'>
2574                                              the channel is a solo channel; "false" otherwise</t>                                              the channel is a solo channel; "false" otherwise</t>
2575                                          </list>                                          </list>
2576                                      </t>                                      </t>
2577                                        <t>MIDI_INSTRUMENT_MAP -
2578                                            <list>
2579                                                <t>Determines to which MIDI instrument map this sampler
2580                                                channel is assigned to. Read chapter
2581                                                <xref target="SET CHANNEL MIDI_INSTRUMENT_MAP">"SET CHANNEL MIDI_INSTRUMENT_MAP"</xref>
2582                                                for a list of possible values.</t>
2583                                            </list>
2584                                        </t>
2585                                  </list>                                  </list>
2586                              </t>                              </t>
2587                          </list>                          </list>
# Line 2593  Schoenebeck'> Line 2604  Schoenebeck'>
2604                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_DEVICE: 0"</t>                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_DEVICE: 0"</t>
2605                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_PORT: 0"</t>                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_PORT: 0"</t>
2606                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_CHANNEL: 5"</t>                              <t>&nbsp;&nbsp;&nbsp;"MIDI_INPUT_CHANNEL: 5"</t>
2607                                <t>&nbsp;&nbsp;&nbsp;"VOLUME: 1.0"</t>
2608                                <t>&nbsp;&nbsp;&nbsp;"MUTE: false"</t>
2609                                <t>&nbsp;&nbsp;&nbsp;"SOLO: false"</t>
2610                                <t>&nbsp;&nbsp;&nbsp;"MIDI_INSTRUMENT_MAP: NONE"</t>
2611                              <t>&nbsp;&nbsp;&nbsp;"."</t>                              <t>&nbsp;&nbsp;&nbsp;"."</t>
2612                          </list>                          </list>
2613                      </t>                      </t>
# Line 2753  Schoenebeck'> Line 2768  Schoenebeck'>
2768                      </t>                      </t>
2769                  </section>                  </section>
2770    
2771                  <section title="Setting audio output type" anchor="SET CHANNEL AUDIO_OUTPUT_TYP">                  <section title="Setting audio output type" anchor="SET CHANNEL AUDIO_OUTPUT_TYPE">
2772                      <t>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!</t>                      <t>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!</t>
2773    
2774                      <t>The front-end can alter the audio output type on a specific sampler                      <t>The front-end can alter the audio output type on a specific sampler
# Line 3144  Schoenebeck'> Line 3159  Schoenebeck'>
3159                      </t>                      </t>
3160                  </section>                  </section>
3161    
3162                    <section title="Assigning a MIDI instrument map to a sampler channel" anchor="SET CHANNEL MIDI_INSTRUMENT_MAP">
3163                        <t>The front-end can assign a MIDI instrument map to a specific sampler channel
3164                        by sending the following command:</t>
3165                        <t>
3166                            <list>
3167                                <t>SET CHANNEL MIDI_INSTRUMENT_MAP &lt;sampler-channel&gt; &lt;map&gt;</t>
3168                            </list>
3169                        </t>
3170                        <t>Where &lt;sampler-channel&gt; is the respective sampler channel
3171                        number as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3172                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command and
3173                        &lt;map&gt; can have the following possibilites:</t>
3174                        <t>
3175                            <list>
3176                                <t>"NONE" -
3177                                    <list>
3178                                        <t>This is the default setting. In this case
3179                                        the sampler channel is not assigned any MIDI
3180                                        instrument map and thus will ignore all MIDI
3181                                        program change messages.</t>
3182                                    </list>
3183                                </t>
3184                                <t>"DEFAULT" -
3185                                    <list>
3186                                        <t>The sampler channel will always use the
3187                                        default MIDI instrument map to handle MIDI
3188                                        program change messages.</t>
3189                                    </list>
3190                                </t>
3191                                <t>numeric ID -
3192                                    <list>
3193                                        <t>You can assign a specific MIDI instrument map
3194                                        by replacing &lt;map&gt; with the respective numeric
3195                                        ID of the MIDI instrument map as returned by the
3196                                        <xref target="LIST MIDI_INSTRUMENT_MAPS">"LIST MIDI_INSTRUMENT_MAPS"</xref>
3197                                        command. Once that map will be deleted, the sampler
3198                                        channel would fall back to "NONE".</t>
3199                                    </list>
3200                                </t>
3201                            </list>
3202                        </t>
3203                        <t>Read chapter <xref target="MIDI Instrument Mapping">"MIDI Instrument Mapping"</xref>
3204                        for details regarding MIDI instrument mapping.</t>
3205    
3206                        <t>Possible Answers:</t>
3207                        <t>
3208                            <list>
3209                                <t>"OK" -
3210                                    <list>
3211                                        <t>on success</t>
3212                                    </list>
3213                                </t>
3214                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3215                                    <list>
3216                                        <t>in case it failed, providing an appropriate error code and error message</t>
3217                                    </list>
3218                                </t>
3219                            </list>
3220                        </t>
3221    
3222                        <t>Examples:</t>
3223                        <t>
3224                            <list>
3225                                <t></t>
3226                            </list>
3227                        </t>
3228                    </section>
3229    
3230                    <section title="Adding an effect send to a sampler channel" anchor="CREATE FX_SEND">
3231                        <t>The front-end can create an additional effect send on a specific sampler channel
3232                        by sending the following command:</t>
3233                        <t>
3234                            <list>
3235                                <t>CREATE FX_SEND &lt;sampler-channel&gt; &lt;midi-ctrl&gt; [&lt;name&gt;]</t>
3236                            </list>
3237                        </t>
3238                        <t>Where &lt;sampler-channel&gt; is the respective sampler channel
3239                        number as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3240                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, that is the
3241                        sampler channel on which the effect send should be created on, &lt;midi-ctrl&gt;
3242                        is a number between 0..127 defining the MIDI controller which can alter the
3243                        effect send level and &lt;name&gt; is an optional argument defining a name
3244                        for the effect send entity. The name does not have to be unique.</t>
3245    
3246                        <t>By default, that is as initial routing, the effect send's audio channels
3247                        are automatically routed to the last audio channels of the sampler channel's
3248                        audio output device, that way you can i.e. first increase the amount of audio
3249                        channels on the audio output device for having dedicated effect send output
3250                        channels and when "CREATE FX_SEND" is called, those channels will automatically
3251                        be picked. You can alter the destination channels however with
3252                        <xref target="SET FX_SEND AUDIO_OUTPUT_CHANNEL">"SET FX_SEND AUDIO_OUTPUT_CHANNEL"</xref>.
3253                        </t>
3254    
3255                        <t>Note: Create effect sends on a sampler channel only when needed, because having effect
3256                        sends on a sampler channel will decrease runtime performance, because for implementing channel
3257                        effect sends, separate (sampler channel local) audio buffers are needed to render and mix
3258                        the voices and route the audio signal afterwards to the master outputs and effect send
3259                        outputs (along with their respective effect send levels). A sampler channel without effect
3260                        sends however can mix its voices directly into the audio output devices's audio buffers
3261                        and is thus faster.
3262                        </t>
3263    
3264                        <t>Possible Answers:</t>
3265                        <t>
3266                            <list>
3267                                <t>"OK[&lt;fx-send-id&gt;]" -
3268                                    <list>
3269                                        <t>in case a new effect send could be added to the
3270                                        sampler channel, where &lt;fx-send-id&gt; reflects the
3271                                        unique ID of the newly created effect send entity</t>
3272                                    </list>
3273                                </t>
3274                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3275                                    <list>
3276                                        <t>when a new effect send could not be added, i.e.
3277                                        due to invalid parameters</t>
3278                                    </list>
3279                                </t>
3280                            </list>
3281                        </t>
3282    
3283                        <t>Examples:</t>
3284                        <t>
3285                            <list>
3286                                <t>C: "CREATE FX_SEND 0 91 'Reverb Send'"</t>
3287                                <t>S: "OK[0]"</t>
3288                            </list>
3289                        </t>
3290                        <t>
3291                            <list>
3292                                <t>C: "CREATE FX_SEND 0 93"</t>
3293                                <t>S: "OK[1]"</t>
3294                            </list>
3295                        </t>
3296                    </section>
3297    
3298                    <section title="Removing an effect send from a sampler channel" anchor="DESTROY FX_SEND">
3299                        <t>The front-end can remove an existing effect send on a specific sampler channel
3300                        by sending the following command:</t>
3301                        <t>
3302                            <list>
3303                                <t>DESTROY FX_SEND &lt;sampler-channel&gt; &lt;fx-send-id&gt;</t>
3304                            </list>
3305                        </t>
3306                        <t>Where &lt;sampler-channel&gt; is the respective sampler channel
3307                        number as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3308                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, that is the
3309                        sampler channel from which the effect send should be removed from and
3310                        &lt;fx-send-id&gt; is the respective effect send number as returned by the
3311                        <xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref>
3312                        or <xref target="LIST FX_SENDS">"LIST FX_SENDS"</xref> command.</t>
3313    
3314                        <t>Possible Answers:</t>
3315                        <t>
3316                            <list>
3317                                <t>"OK" -
3318                                    <list>
3319                                        <t>on success</t>
3320                                    </list>
3321                                </t>
3322                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3323                                    <list>
3324                                        <t>in case it failed, providing an appropriate error code and
3325                                        error message</t>
3326                                    </list>
3327                                </t>
3328                            </list>
3329                        </t>
3330    
3331                        <t>Example:</t>
3332                        <t>
3333                            <list>
3334                                <t>C: "DESTROY FX_SEND 0 0"</t>
3335                                <t>S: "OK"</t>
3336                            </list>
3337                        </t>
3338                    </section>
3339    
3340                    <section title="Getting amount of effect sends on a sampler channel" anchor="GET FX_SENDS">
3341                        <t>The front-end can ask for the amount of effect sends on a specific sampler channel
3342                        by sending the following command:</t>
3343                        <t>
3344                            <list>
3345                                <t>GET FX_SENDS &lt;sampler-channel&gt;</t>
3346                            </list>
3347                        </t>
3348                        <t>Where &lt;sampler-channel&gt; is the respective sampler channel
3349                        number as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3350                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command.</t>
3351    
3352                        <t>Possible Answers:</t>
3353                        <t>
3354                            <list>
3355                                <t>The sampler will answer by returning the number of effect
3356                                sends on the given sampler channel.</t>
3357                            </list>
3358                        </t>
3359    
3360                        <t>Example:</t>
3361                        <t>
3362                            <list>
3363                                <t>C: "GET FX_SENDS 0"</t>
3364                                <t>S: "2"</t>
3365                            </list>
3366                        </t>
3367                    </section>
3368    
3369                    <section title="Listing all effect sends on a sampler channel" anchor="LIST FX_SENDS">
3370                        <t>The front-end can ask for a list of effect sends on a specific sampler channel
3371                        by sending the following command:</t>
3372                        <t>
3373                            <list>
3374                                <t>LIST FX_SENDS &lt;sampler-channel&gt;</t>
3375                            </list>
3376                        </t>
3377                        <t>Where &lt;sampler-channel&gt; is the respective sampler channel
3378                        number as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3379                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command.</t>
3380    
3381                        <t>Possible Answers:</t>
3382                        <t>
3383                            <list>
3384                                <t>The sampler will answer by returning a comma separated list
3385                                with all effect sends' numerical IDs on the given sampler
3386                                channel.</t>
3387                            </list>
3388                        </t>
3389    
3390                        <t>Examples:</t>
3391                        <t>
3392                            <list>
3393                                <t>C: "LIST FX_SENDS 0"</t>
3394                                <t>S: "0,1"</t>
3395                            </list>
3396                        </t>
3397                        <t>
3398                            <list>
3399                                <t>C: "LIST FX_SENDS 1"</t>
3400                                <t>S: ""</t>
3401                            </list>
3402                        </t>
3403                    </section>
3404    
3405                    <section title="Getting effect send information" anchor="GET FX_SEND INFO">
3406                        <t>The front-end can ask for the current settings of an effect send entity
3407                        by sending the following command:</t>
3408                        <t>
3409                            <list>
3410                                <t>GET FX_SEND INFO &lt;sampler-channel&gt; &lt;fx-send-id&gt;</t>
3411                            </list>
3412                        </t>
3413                        <t>Where &lt;sampler-channel&gt; is the sampler channel number
3414                        as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3415                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command and
3416                        &lt;fx-send-id&gt; reflects the numerical ID of the effect send entity
3417                        as returned by the <xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref>
3418                        or <xref target="LIST FX_SENDS">"LIST FX_SENDS"</xref> command.
3419                       </t>
3420    
3421                        <t>Possible Answers:</t>
3422                        <t>
3423                            <list>
3424                                <t>The sampler will answer by sending a &lt;CRLF&gt; separated list.
3425                                Each answer line begins with the settings category name
3426                                followed by a colon and then a space character &lt;SP&gt; and finally
3427                                the info character string to that setting category. At the
3428                                moment the following categories are defined:</t>
3429    
3430                                <t>
3431                                    <list>
3432                                        <t>NAME -
3433                                            <list>
3434                                                <t>name of the effect send entity</t>
3435                                            </list>
3436                                        </t>
3437                                        <t>AUDIO_OUTPUT_ROUTING -
3438                                            <list>
3439                                                <t>comma separated list which reflects to which audio
3440                                                channel of the selected audio output device each
3441                                                effect send output channel is routed to, e.g. "0,3" would
3442                                                mean the effect send's output channel 0 is routed to channel
3443                                                0 of the audio output device and the effect send's output
3444                                                channel 1 is routed to the channel 3 of the audio
3445                                                output device (see
3446                                                <xref target="SET FX_SEND AUDIO_OUTPUT_CHANNEL">"SET FX_SEND AUDIO_OUTPUT_CHANNEL"</xref>
3447                                                for details)</t>
3448                                            </list>
3449                                        </t>
3450                                    </list>
3451                                </t>
3452                            </list>
3453                        </t>
3454                        <t>The mentioned fields above don't have to be in particular order.</t>
3455    
3456                        <t>Example:</t>
3457                        <t>
3458                            <list>
3459                                <t>C: "GET FX_SEND INFO 0 0"</t>
3460                                <t>S: "NAME: Reverb Send"</t>
3461                                <t>&nbsp;&nbsp;&nbsp;"AUDIO_OUTPUT_ROUTING: 2,3"</t>
3462                                <t>&nbsp;&nbsp;&nbsp;"."</t>
3463                            </list>
3464                        </t>
3465                    </section>
3466    
3467                    <section title="Altering effect send's audio routing" anchor="SET FX_SEND AUDIO_OUTPUT_CHANNEL">
3468                        <t>The front-end can alter the destination of an effect send's audio channel on a specific
3469                        sampler channel by sending the following command:</t>
3470                        <t>
3471                            <list>
3472                                <t>SET FX_SEND AUDIO_OUTPUT_CHANNEL &lt;sampler-chan&gt; &lt;fx-send-id&gt; &lt;audio-src&gt; &lt;audio-dst&gt;</t>
3473                            </list>
3474                        </t>
3475                        <t>Where &lt;sampler-chan&gt; is the sampler channel number
3476                        as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref>
3477                        or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command,
3478                        &lt;fx-send-id&gt; reflects the numerical ID of the effect send entity
3479                        as returned by the <xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref>
3480                        or <xref target="LIST FX_SENDS">"LIST FX_SENDS"</xref> command,
3481                        &lt;audio-src&gt; is the numerical ID of the effect send's audio channel
3482                        which should be rerouted and &lt;audio-dst&gt; is the numerical ID of
3483                        the audio channel of the selected audio output device where &lt;audio-src&gt;
3484                        should be routed to.</t>
3485    
3486                        <t>Note that effect sends can only route audio to the same audio output
3487                        device as assigned to the effect send's sampler channel. Also note that an
3488                        effect send entity does always have exactly as much audio channels as its
3489                        sampler channel. So if the sampler channel is stereo, the effect send does
3490                        have two audio channels as well. Also keep in mind that the amount of audio
3491                        channels on a sampler channel might be dependant not only to the deployed
3492                        sampler engine on the sampler channel, but also dependant to the instrument
3493                        currently loaded. However you can (effectively) turn an i.e. stereo effect
3494                        send into a mono one by simply altering its audio routing appropriately.</t>
3495    
3496                        <t>Possible Answers:</t>
3497                        <t>
3498                            <list>
3499                                <t>"OK" -
3500                                    <list>
3501                                        <t>on success</t>
3502                                    </list>
3503                                </t>
3504                                <t>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3505                                    <list>
3506                                        <t>if audio output channel was set, but there are noteworthy
3507                                        issue(s) related, providing an appropriate warning code and
3508                                        warning message</t>
3509                                    </list>
3510                                </t>
3511                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3512                                    <list>
3513                                        <t>in case it failed, providing an appropriate error code and error message</t>
3514                                    </list>
3515                                </t>
3516                            </list>
3517                        </t>
3518                        <t>Example:</t>
3519                        <t>
3520                            <list>
3521                                <t>C: "SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2"</t>
3522                                <t>S: "OK"</t>
3523                            </list>
3524                        </t>
3525                    </section>
3526    
3527    
3528                  <section title="Resetting a sampler channel" anchor="RESET CHANNEL">                  <section title="Resetting a sampler channel" anchor="RESET CHANNEL">
3529                      <t>The front-end can reset a particular sampler channel by sending the following command:</t>                      <t>The front-end can reset a particular sampler channel by sending the following command:</t>
3530                      <t>                      <t>
# Line 3436  Schoenebeck'> Line 3817  Schoenebeck'>
3817              </section>              </section>
3818    
3819    
3820              <section title="MIDI Instrument Mapping">              <section title="MIDI Instrument Mapping" anchor="MIDI Instrument Mapping">
3821                  <t>The MIDI protocol provides a way to switch between instruments                  <t>The MIDI protocol provides a way to switch between instruments
3822                  by sending so called MIDI bank select and MIDI program change                  by sending so called MIDI bank select and MIDI program change
3823                  messages which are essentially just numbers. The following commands                  messages which are essentially just numbers. The following commands
3824                  allow to actually map arbitrary MIDI bank select / program change                  allow to actually map arbitrary MIDI bank select / program change
3825                  numbers with real instruments.</t>                  numbers with real instruments.</t>
3826                  <t>By default, that is when the sampler is launched, this map will                  <t>The sampler allows to manage an arbitrary amount of MIDI
3827                  be empty, thus the sampler will simply ignore all program change                  instrument maps which define which instrument to load on
3828                  messages. The front-end has to explicitly add entries to the map                  which MIDI program change message.</t>
3829                  so the sampler knows how to react on a given program change                  <t>By default, that is when the sampler is launched, there is no
3830                  message, that is by switching to the respectively defined engine                  map, thus the sampler will simply ignore all program change
3831                  type and loading the respective instrument.</t>                  messages. The front-end has to explicitly create at least one
3832                    map, add entries to the map and tell the respective sampler
3833                    channel(s) which MIDI instrument map to use, so the sampler
3834                    knows how to react on a given program change message on the
3835                    respective sampler channel, that is by switching to the
3836                    respectively defined engine type and loading the respective
3837                    instrument. See command
3838                    <xref target="SET CHANNEL MIDI_INSTRUMENT_MAP">"SET CHANNEL MIDI_INSTRUMENT_MAP"</xref>
3839                    for how to assign a MIDI instrument map to a sampler channel.</t>
3840                  <t>Also note per MIDI specification a bank select message does not                  <t>Also note per MIDI specification a bank select message does not
3841                  cause to switch to another instrument. Instead when receiving a                  cause to switch to another instrument. Instead when receiving a
3842                  bank select message the bank value will be stored and a subsequent                  bank select message the bank value will be stored and a subsequent
# Line 3455  Schoenebeck'> Line 3844  Schoenebeck'>
3844                  cause the sampler to switch to the respective instrument as                  cause the sampler to switch to the respective instrument as
3845                  reflected by the current MIDI instrument map.</t>                  reflected by the current MIDI instrument map.</t>
3846    
3847                    <section title="Create a new MIDI instrument map" anchor="ADD MIDI_INSTRUMENT MAP">
3848                        <t>The front-end can add a new MIDI instrument map by sending
3849                        the following command:</t>
3850                        <t>
3851                            <list>
3852                                <t>ADD MIDI_INSTRUMENT_MAP [&lt;name&gt;]</t>
3853                            </list>
3854                        </t>
3855                        <t>Where &lt;name&gt; is an optional argument allowing to
3856                        assign a custom name to the new map. MIDI instrument Map
3857                        names do not have to be unique.</t>
3858    
3859                        <t>Possible Answers:</t>
3860                        <t>
3861                            <list>
3862                                <t>"OK[&lt;map&gt;]" -
3863                                    <list>
3864                                        <t>in case a new MIDI instrument map could
3865                                        be added, where &lt;map&gt; reflects the
3866                                        unique ID of the newly created MIDI
3867                                        instrument map</t>
3868                                    </list>
3869                                </t>
3870                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3871                                    <list>
3872                                        <t>when a new map could not be created, which
3873                                        might never occur in practice</t>
3874                                    </list>
3875                                </t>
3876                            </list>
3877                        </t>
3878    
3879                        <t>Examples:</t>
3880                        <t>
3881                            <list>
3882                                <t>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Map'"</t>
3883                                <t>S: "OK[0]"</t>
3884                            </list>
3885                        </t>
3886                        <t>
3887                            <list>
3888                                <t>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Drumkit'"</t>
3889                                <t>S: "OK[1]"</t>
3890                            </list>
3891                        </t>
3892                        <t>
3893                            <list>
3894                                <t>C: "ADD MIDI_INSTRUMENT_MAP"</t>
3895                                <t>S: "OK[5]"</t>
3896                            </list>
3897                        </t>
3898                    </section>
3899    
3900                    <section title="Delete one particular or all MIDI instrument maps" anchor="REMOVE MIDI_INSTRUMENT_MAP">
3901                        <t>The front-end can delete a particular MIDI instrument map
3902                        by sending the following command:</t>
3903                        <t>
3904                            <list>
3905                                <t>REMOVE MIDI_INSTRUMENT_MAP &lt;map&gt;</t>
3906                            </list>
3907                        </t>
3908                        <t>Where &lt;map&gt; reflects the unique ID of the map to delete
3909                        as returned by the <xref target="LIST MIDI_INSTRUMENT_MAPS">"LIST MIDI_INSTRUMENT_MAPS"</xref>
3910                        command.</t>
3911                        <t>The front-end can delete all MIDI instrument maps by
3912                        sending the following command:</t>
3913                        <t>
3914                            <list>
3915                                <t>REMOVE MIDI_INSTRUMENT_MAP ALL</t>
3916                            </list>
3917                        </t>
3918    
3919                        <t>Possible Answers:</t>
3920                        <t>
3921                            <list>
3922                                <t>"OK" -
3923                                    <list>
3924                                        <t>in case the map(s) could be deleted</t>
3925                                    </list>
3926                                </t>
3927                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3928                                    <list>
3929                                        <t>when the given map does not exist</t>
3930                                    </list>
3931                                </t>
3932                            </list>
3933                        </t>
3934    
3935                        <t>Examples:</t>
3936                        <t>
3937                            <list>
3938                                <t>C: "REMOVE MIDI_INSTRUMENT_MAP 0"</t>
3939                                <t>S: "OK"</t>
3940                            </list>
3941                        </t>
3942                        <t>
3943                            <list>
3944                                <t>C: "REMOVE MIDI_INSTRUMENT_MAP ALL"</t>
3945                                <t>S: "OK"</t>
3946                            </list>
3947                        </t>
3948                    </section>
3949    
3950                    <section title="Get amount of existing MIDI instrument maps" anchor="GET MIDI_INSTRUMENT_MAPS">
3951                        <t>The front-end can retrieve the current amount of MIDI
3952                        instrument maps by sending the following command:</t>
3953                        <t>
3954                            <list>
3955                                <t>GET MIDI_INSTRUMENT_MAPS</t>
3956                            </list>
3957                        </t>
3958    
3959                        <t>Possible Answers:</t>
3960                        <t>
3961                            <list>
3962                                <t>The sampler will answer by returning the current
3963                                number of MIDI instrument maps.</t>
3964                            </list>
3965                        </t>
3966    
3967                        <t>Example:</t>
3968                        <t>
3969                            <list>
3970                                <t>C: "GET MIDI_INSTRUMENT_MAPS"</t>
3971                                <t>S: "2"</t>
3972                            </list>
3973                        </t>
3974                    </section>
3975    
3976                    <section title="Getting all created MIDI instrument maps" anchor="LIST MIDI_INSTRUMENT_MAPS">
3977                        <t>The number of MIDI instrument maps can change on runtime. To get the
3978                        current list of MIDI instrument maps, the front-end can send the
3979                        following command:</t>
3980                        <t>
3981                            <list>
3982                                <t>LIST MIDI_INSTRUMENT_MAPS</t>
3983                            </list>
3984                        </t>
3985                        <t>Possible Answers:</t>
3986                        <t>
3987                            <list>
3988                                <t>The sampler will answer by returning a comma separated list
3989                                with all MIDI instrument maps' numerical IDs.</t>
3990                            </list>
3991                        </t>
3992                        <t>Example:</t>
3993                        <t>
3994                            <list>
3995                                <t>C: "LIST MIDI_INSTRUMENT_MAPS"</t>
3996                                <t>S: "0,1,5,12"</t>
3997                            </list>
3998                        </t>
3999                    </section>
4000    
4001                    <section title="Getting MIDI instrument map information" anchor="GET MIDI_INSTRUMENT_MAP INFO">
4002                        <t>The front-end can ask for the current settings of a MIDI
4003                        instrument map by sending the following command:</t>
4004                        <t>
4005                            <list>
4006                                <t>GET MIDI_INSTRUMENT_MAP INFO &lt;map&gt;</t>
4007                            </list>
4008                        </t>
4009                        <t>Where &lt;map&gt; is the numerical ID of the map the
4010                        front-end is interested in as returned by the
4011                        <xref target="LIST MIDI_INSTRUMENT_MAPS">"LIST MIDI_INSTRUMENT_MAPS"</xref>
4012                        command.</t>
4013    
4014                        <t>Possible Answers:</t>
4015                        <t>
4016                            <list>
4017                                <t>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
4018                                Each answer line begins with the settings category name
4019                                followed by a colon and then a space character &lt;SP&gt; and finally
4020                                the info character string to that setting category. At the
4021                                moment the following categories are defined:</t>
4022    
4023                                <t>
4024                                    <list>
4025                                        <t>NAME -
4026                                            <list>
4027                                                <t>custom name of the given map,
4028                                                which does not have to be unique</t>
4029                                            </list>
4030                                        </t>
4031                                    </list>
4032                                </t>
4033                            </list>
4034                        </t>
4035                        <t>The mentioned fields above don't have to be in particular order.</t>
4036    
4037                        <t>Example:</t>
4038                        <t>
4039                            <list>
4040                                <t>C: "GET MIDI_INSTRUMENT_MAP INFO 0"</t>
4041                                <t>S: "NAME: Standard Map"</t>
4042                                <t>&nbsp;&nbsp;&nbsp;"."</t>
4043                            </list>
4044                        </t>
4045                    </section>
4046    
4047                    <section title="Renaming a MIDI instrument map" anchor="SET MIDI_INSTRUMENT_MAP NAME">
4048                        <t>The front-end can alter the custom name of a MIDI
4049                        instrument map by sending the following command:</t>
4050                        <t>
4051                            <list>
4052                                <t>SET MIDI_INSTRUMENT_MAP NAME &lt;map&gt; &lt;name&gt;</t>
4053                            </list>
4054                        </t>
4055                        <t>Where &lt;map&gt; is the numerical ID of the map and
4056                        &lt;name&gt; the new custom name of the map, which does not
4057                        have to be unique.</t>
4058    
4059                        <t>Possible Answers:</t>
4060                        <t>
4061                            <list>
4062                                <t>"OK" -
4063                                    <list>
4064                                        <t>on success</t>
4065                                    </list>
4066                                </t>
4067                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4068                                    <list>
4069                                        <t>in case the given map does not exist</t>
4070                                    </list>
4071                                </t>
4072                            </list>
4073                        </t>
4074    
4075                        <t>Example:</t>
4076                        <t>
4077                            <list>
4078                                <t>C: "SET MIDI_INSTRUMENT_MAP NAME 0 'Foo instruments'"</t>
4079                                <t>S: "OK"</t>
4080                            </list>
4081                        </t>
4082                    </section>
4083    
4084                  <section title="Create or replace a MIDI instrument map entry" anchor="MAP MIDI_INSTRUMENT">                  <section title="Create or replace a MIDI instrument map entry" anchor="MAP MIDI_INSTRUMENT">
4085                      <t>The front-end can create a new or replace an existing entry                      <t>The front-end can create a new or replace an existing entry
4086                      in the sampler's MIDI instrument map by sending the following                      in a sampler's MIDI instrument map by sending the following
4087                      command:</t>                      command:</t>
4088                      <t>                      <t>
4089                          <list>                          <list>
4090                              <t>MAP MIDI_INSTRUMENT &lt;midi_bank_msb&gt;                              <t>MAP MIDI_INSTRUMENT &lt;map&gt;
4091                              &lt;midi_bank_lsb&gt; &lt;midi_prog&gt; &lt;engine_name&gt;                              &lt;midi_bank&gt; &lt;midi_prog&gt; &lt;engine_name&gt;
4092                              &lt;filename&gt; &lt;instrument_index&gt; &lt;volume_value&gt;                              &lt;filename&gt; &lt;instrument_index&gt; &lt;volume_value&gt;
4093                              [&lt;instr_load_mode&gt;] [&lt;name&gt;]</t>                              [&lt;instr_load_mode&gt;] [&lt;name&gt;]</t>
4094                          </list>                          </list>
4095                      </t>                      </t>
4096                      <t>Where &lt;midi_bank_msb&gt; is an integer value between                      <t>Where &lt;map&gt; is the numeric ID of the map to alter,
4097                      0..127 reflecting the MIDI bank select MSB (coarse) index,                      &lt;midi_bank&gt; is an integer value between
4098                      &lt;midi_bank_lsb&gt; an integer value between 0..127 reflecting                      0..16383 reflecting the MIDI bank select index,
4099                      the MIDI bank select LSB (fine) index, &lt;midi_prog&gt; an                      &lt;midi_prog&gt; an
4100                      integer value between 0..127 reflecting the MIDI program change                      integer value between 0..127 reflecting the MIDI program change
4101                      index, &lt;engine_name&gt; a sampler engine name as returned by                      index, &lt;engine_name&gt; a sampler engine name as returned by
4102                      the <xref target="LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"</xref>                      the <xref target="LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"</xref>
4103                      command (not encapsulated into apostrophes), &lt;filename&gt; the name                      command (not encapsulated into apostrophes), &lt;filename&gt; the name
4104                      of the instrument's file to be deployed (encapsulated into apostrophes), &lt;instrument_index&gt; the index (integer value) of the instrument                      of the instrument's file to be deployed (encapsulated into apostrophes),
4105                        &lt;instrument_index&gt; the index (integer value) of the instrument
4106                      within the given file, &lt;volume_value&gt; reflects the master                      within the given file, &lt;volume_value&gt; reflects the master
4107                      volume of the instrument as optionally dotted number (where a                      volume of the instrument as optionally dotted number (where a
4108                      value < 1.0 means attenuation and a value > 1.0 means                      value < 1.0 means attenuation and a value > 1.0 means
# Line 3582  Schoenebeck'> Line 4209  Schoenebeck'>
4209                              </t>                              </t>
4210                              <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -                              <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4211                                  <list>                                  <list>
4212                                      <t>when the given engine does not exist or a value                                      <t>when the given map or engine does not exist or a value
4213                                      is out of range</t>                                      is out of range</t>
4214                                  </list>                                  </list>
4215                              </t>                              </t>
# Line 3592  Schoenebeck'> Line 4219  Schoenebeck'>
4219                      <t>Examples:</t>                      <t>Examples:</t>
4220                      <t>                      <t>
4221                          <list>                          <list>
4222                              <t>C: "MAP MIDI_INSTRUMENT 3 0 0 gig '/usr/share/Steinway D.gig' 0 0.8 PERSISTENT"</t>                              <t>C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0 0.8 PERSISTENT"</t>
4223                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4224                          </list>                          </list>
4225                      </t>                      </t>
4226                      <t>                      <t>
4227                          <list>                          <list>
4228                              <t>C: "MAP MIDI_INSTRUMENT 127 4 50 gig '/home/john/foostrings.gig' 7 1.0"</t>                              <t>C: "MAP MIDI_INSTRUMENT 0 4 50 gig '/home/john/foostrings.gig' 7 1.0"</t>
4229                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4230                          </list>                          </list>
4231                      </t>                      </t>
# Line 3606  Schoenebeck'> Line 4233  Schoenebeck'>
4233                          <list>                          <list>
4234                              <t>C: "MAP MIDI_INSTRUMENT 0 0 0 gig '/usr/share/piano.gig' 0 1.0 'Normal Piano'"</t>                              <t>C: "MAP MIDI_INSTRUMENT 0 0 0 gig '/usr/share/piano.gig' 0 1.0 'Normal Piano'"</t>
4235                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4236                              <t>C: "MAP MIDI_INSTRUMENT 1 0 0 gig '/usr/share/piano.gig' 0 0.25 'Silent Piano'"</t>                              <t>C: "MAP MIDI_INSTRUMENT 0 1 0 gig '/usr/share/piano.gig' 0 0.25 'Silent Piano'"</t>
4237                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4238                          </list>                          </list>
4239                      </t>                      </t>
4240                      <t>                      <t>
4241                          <list>                          <list>
4242                              <t>C: "MAP MIDI_INSTRUMENT 99 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'"</t>                              <t>C: "MAP MIDI_INSTRUMENT 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'"</t>
4243                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4244                          </list>                          </list>
4245                      </t>                      </t>
4246                  </section>                  </section>
4247    
4248                  <section title="Getting ammount of MIDI instrument map entries" anchor="GET MIDI_INSTRUMENTS">                  <section title="Getting ammount of MIDI instrument map entries" anchor="GET MIDI_INSTRUMENTS">
4249                      <t>The front-end can query the amount of currently existing MIDI                      <t>The front-end can query the amount of currently existing
4250                      instrument map entries by sending the following                      entries in a MIDI instrument map by sending the following
4251                        command:</t>
4252                        <t>
4253                            <list>
4254                                <t>GET MIDI_INSTRUMENTS &lt;map&gt;</t>
4255                            </list>
4256                        </t>
4257                        <t>The front-end can query the amount of currently existing
4258                        entries in all MIDI instrument maps by sending the following
4259                      command:</t>                      command:</t>
4260                      <t>                      <t>
4261                          <list>                          <list>
4262                              <t>GET MIDI_INSTRUMENTS</t>                              <t>GET MIDI_INSTRUMENTS ALL</t>
4263                          </list>                          </list>
4264                      </t>                      </t>
4265                      <t>Possible Answers:</t>                      <t>Possible Answers:</t>
4266                      <t>                      <t>
4267                          <list>                          <list>
4268                              <t>LinuxSampler will answer by sending the current number of                              <t>The sampler will answer by sending the current number of
4269                              entries in the sampler's MIDI instrument map.</t>                              entries in the MIDI instrument map(s).</t>
4270                          </list>                          </list>
4271                      </t>                      </t>
4272    
4273                      <t>Example:</t>                      <t>Example:</t>
4274                      <t>                      <t>
4275                          <list>                          <list>
4276                              <t>C: "GET MIDI_INSTRUMENTS"</t>                              <t>C: "GET MIDI_INSTRUMENTS 0"</t>
4277                              <t>S: "634"</t>                              <t>S: "234"</t>
4278                            </list>
4279                        </t>
4280                        <t>
4281                            <list>
4282                                <t>C: "GET MIDI_INSTRUMENTS ALL"</t>
4283                                <t>S: "954"</t>
4284                          </list>                          </list>
4285                      </t>                      </t>
4286                  </section>                  </section>
4287    
4288                  <section title="Getting indeces of all MIDI instrument map entries" anchor="LIST MIDI_INSTRUMENTS">                  <section title="Getting indeces of all entries of a MIDI instrument map" anchor="LIST MIDI_INSTRUMENTS">
4289                      <t>The front-end can query a list of all currently existing MIDI                      <t>The front-end can query a list of all currently existing
4290                      instrument map entries by sending the following command:</t>                      entries in a certain MIDI instrument map by sending the following
4291                        command:</t>
4292                        <t>
4293                            <list>
4294                                <t>LIST MIDI_INSTRUMENTS &lt;map&gt;</t>
4295                            </list>
4296                        </t>
4297                        <t>Where &lt;map&gt; is the numeric ID of the MIDI instrument map.</t>
4298                        <t>The front-end can query a list of all currently existing
4299                        entries of all MIDI instrument maps by sending the following
4300                        command:</t>
4301                      <t>                      <t>
4302                          <list>                          <list>
4303                              <t>LIST MIDI_INSTRUMENTS</t>                              <t>LIST MIDI_INSTRUMENTS ALL</t>
4304                          </list>                          </list>
4305                      </t>                      </t>
4306    
4307                      <t>Possible Answers:</t>                      <t>Possible Answers:</t>
4308                      <t>                      <t>
4309                          <list>                          <list>
4310                              <t>LinuxSampler will answer by sending a comma separated                              <t>The sampler will answer by sending a comma separated
4311                              list of MIDI bank MSB (coarse) - MIDI bank LSB (fine) -                              list of map ID - MIDI bank - MIDI program triples, where
4312                              MIDI program triples, where each triple is encapsulated                              each triple is encapsulated into curly braces. The
4313                              into curly braces. The list is returned in one single                              list is returned in one single line. Each triple
4314                              line. Each triple just reflects the key of the respective                              just reflects the key of the respective map entry,
4315                              map entry, thus subsequent                              thus subsequent
4316                              <xref target="GET MIDI_INSTRUMENT INFO">"GET MIDI_INSTRUMENT INFO"</xref>                              <xref target="GET MIDI_INSTRUMENT INFO">"GET MIDI_INSTRUMENT INFO"</xref>
4317                              command(s) are necessary to retrieve detailed informations                              command(s) are necessary to retrieve detailed informations
4318                              about each entry.</t>                              about each entry.</t>
# Line 3670  Schoenebeck'> Line 4322  Schoenebeck'>
4322                      <t>Example:</t>                      <t>Example:</t>
4323                      <t>                      <t>
4324                          <list>                          <list>
4325                              <t>C: "LIST MIDI_INSTRUMENTS"</t>                              <t>C: "LIST MIDI_INSTRUMENTS 0"</t>
4326                              <t>S: "{0,0,0},{0,0,1},{120,0,3},{120,0,4},{23,127,127}"</t>                              <t>S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}"</t>
4327                          </list>                          </list>
4328                      </t>                      </t>
4329                  </section>                  </section>
4330    
4331                  <section title="Remove an entry from the MIDI instrument map" anchor="UNMAP MIDI_INSTRUMENT">                  <section title="Remove an entry from the MIDI instrument map" anchor="UNMAP MIDI_INSTRUMENT">
4332                      <t>The front-end can delete an entry from the MIDI instrument                      <t>The front-end can delete an entry from a MIDI instrument
4333                      map by sending the following command:</t>                      map by sending the following command:</t>
4334                      <t>                      <t>
4335                          <list>                          <list>
4336                              <t>UNMAP MIDI_INSTRUMENT &lt;midi_bank_msb&gt; &lt;midi_bank_lsb&gt; &lt;midi_prog&gt;</t>                              <t>UNMAP MIDI_INSTRUMENT &lt;map&gt; &lt;midi_bank&gt; &lt;midi_prog&gt;</t>
4337                          </list>                          </list>
4338                      </t>                      </t>
4339                      <t>                      <t>
4340                      Where &lt;midi_bank_msb&gt; is an integer value between 0..127                      Where &lt;map&gt; is the numeric ID of the MIDI instrument map,
4341                      reflecting the MIDI bank MSB (coarse) value, &lt;midi_bank_lsb&gt;                      &lt;midi_bank&gt; is an integer value between 0..16383
4342                      an integer value between 0..127 reflecting the MIDI bank LSB                      reflecting the MIDI bank value and
4343                      (fine) value and &lt;midi_prog&gt; an integer value between                      &lt;midi_prog&gt; an integer value between
4344                      0..127 reflecting the MIDI program value of the map entrie's key                      0..127 reflecting the MIDI program value of the map's entrie's key
4345                      index triple.                      index triple.
4346                      </t>                      </t>
4347    
# Line 3712  Schoenebeck'> Line 4364  Schoenebeck'>
4364                      <t>Example:</t>                      <t>Example:</t>
4365                      <t>                      <t>
4366                          <list>                          <list>
4367                              <t>C: "UNMAP MIDI_INSTRUMENT 2 40 127"</t>                              <t>C: "UNMAP MIDI_INSTRUMENT 0 2 127"</t>
4368                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4369                          </list>                          </list>
4370                      </t>                      </t>
# Line 3723  Schoenebeck'> Line 4375  Schoenebeck'>
4375                      instrument map entry by sending the following command:</t>                      instrument map entry by sending the following command:</t>
4376                      <t>                      <t>
4377                          <list>                          <list>
4378                              <t>GET MIDI_INSTRUMENT INFO &lt;midi_bank_msb&gt; &lt;midi_bank_lsb&gt; &lt;midi_prog&gt;</t>                              <t>GET MIDI_INSTRUMENT INFO &lt;map&gt; &lt;midi_bank&gt; &lt;midi_prog&gt;</t>
4379                          </list>                          </list>
4380                      </t>                      </t>
4381                      <t>                      <t>
4382                      Where &lt;midi_bank_msb&gt; is an integer value between 0..127                      Where &lt;map&gt; is the numeric ID of the MIDI instrument map,
4383                      reflecting the MIDI bank MSB (coarse) value, &lt;midi_bank_lsb&gt;                      &lt;midi_bank&gt; is an integer value between 0..16383
4384                      an integer value between 0..127 reflecting the MIDI bank LSB                      reflecting the MIDI bank value, &lt;midi_bank&gt;
4385                      (fine) value and &lt;midi_prog&gt; an integer value between                      and &lt;midi_prog&gt; an integer value between
4386                      0..127 reflecting the MIDI program value of the map entrie's key                      0..127 reflecting the MIDI program value of the map's entrie's key
4387                      index triple.                      index triple.
4388                      </t>                      </t>
4389    
# Line 3797  Schoenebeck'> Line 4449  Schoenebeck'>
4449                      <t>Example:</t>                      <t>Example:</t>
4450                      <t>                      <t>
4451                          <list>                          <list>
4452                              <t>C: "GET MIDI_INSTRUMENT INFO 3 45 120"</t>                              <t>C: "GET MIDI_INSTRUMENT INFO 1 45 120"</t>
4453                              <t>S: "NAME: Drums for Foo Song"</t>                              <t>S: "NAME: Drums for Foo Song"</t>
4454                              <t>&nbsp;&nbsp;&nbsp;"ENGINE_NAME: GigEngine"</t>                              <t>&nbsp;&nbsp;&nbsp;"ENGINE_NAME: GigEngine"</t>
4455                              <t>&nbsp;&nbsp;&nbsp;"INSTRUMENT_FILE: /usr/share/joesdrumkit.gig"</t>                              <t>&nbsp;&nbsp;&nbsp;"INSTRUMENT_FILE: /usr/share/joesdrumkit.gig"</t>
# Line 3811  Schoenebeck'> Line 4463  Schoenebeck'>
4463                  </section>                  </section>
4464    
4465                  <section title="Clear MIDI instrument map" anchor="CLEAR MIDI_INSTRUMENTS">                  <section title="Clear MIDI instrument map" anchor="CLEAR MIDI_INSTRUMENTS">
4466                      <t>The front-end can clear the whole MIDI instrument map, that                      <t>The front-end can clear a whole MIDI instrument map, that
4467                      is delete all entries by sending the following command:</t>                      is delete all its entries by sending the following command:</t>
4468                        <t>
4469                            <list>
4470                                <t>CLEAR MIDI_INSTRUMENTS &lt;map&gt;</t>
4471                            </list>
4472                        </t>
4473                        <t>Where &lt;map&gt; is the numeric ID of the map to clear.</t>
4474                        <t>The front-end can clear all MIDI instrument maps, that
4475                        is delete all entries of all maps by sending the following
4476                        command:</t>
4477                      <t>                      <t>
4478                          <list>                          <list>
4479                              <t>CLEAR MIDI_INSTRUMENTS</t>                              <t>CLEAR MIDI_INSTRUMENTS ALL</t>
4480                          </list>                          </list>
4481                      </t>                      </t>
4482                        <t>The command "CLEAR MIDI_INSTRUMENTS ALL" does not delete the
4483                        maps, only their entries, thus the map's settings like
4484                        custom name will be preservevd.</t>
4485    
4486                     <t>Possible Answers:</t>                     <t>Possible Answers:</t>
4487                      <t>                      <t>
# Line 3830  Schoenebeck'> Line 4494  Schoenebeck'>
4494                          </list>                          </list>
4495                      </t>                      </t>
4496    
4497                      <t>Example:</t>                      <t>Examples:</t>
4498                      <t>                      <t>
4499                         <list>                         <list>
4500                              <t>C: "CLEAR MIDI_INSTRUMENTS"</t>                              <t>C: "CLEAR MIDI_INSTRUMENTS 0"</t>
4501                                <t>S: "OK"</t>
4502                            </list>
4503                        </t>
4504                        <t>
4505                           <list>
4506                                <t>C: "CLEAR MIDI_INSTRUMENTS ALL"</t>
4507                              <t>S: "OK"</t>                              <t>S: "OK"</t>
4508                          </list>                          </list>
4509                      </t>                      </t>
# Line 3891  Schoenebeck'> Line 4561  Schoenebeck'>
4561  </t>  </t>
4562  <t>command =  <t>command =
4563          <list>          <list>
4564                  <t>ADD SP CHANNEL                  <t>ADD SP add_instruction
4565                  </t>                  </t>
4566                  <t>/ MAP SP map_instruction                  <t>/ MAP SP map_instruction
4567                  </t>                  </t>
# Line 3908  Schoenebeck'> Line 4578  Schoenebeck'>
4578                  <t>/ LOAD SP load_instruction                  <t>/ LOAD SP load_instruction
4579                  </t>                  </t>
4580                  <t>/ REMOVE SP remove_instruction                  <t>/ REMOVE SP remove_instruction
   
4581                  </t>                  </t>
4582                  <t>/ SET SP set_instruction                  <t>/ SET SP set_instruction
4583                  </t>                  </t>
# Line 3928  Schoenebeck'> Line 4597  Schoenebeck'>
4597                  </t>                  </t>
4598          </list>          </list>
4599  </t>  </t>
4600    <t>add_instruction =
4601            <list>
4602                    <t>CHANNEL
4603                    </t>
4604                    <t>/ MIDI_INSTRUMENT_MAP
4605                    </t>
4606                    <t>/ MIDI_INSTRUMENT_MAP SP map_name
4607                    </t>
4608            </list>
4609    </t>
4610  <t>subscribe_event =  <t>subscribe_event =
4611          <list>          <list>
4612                  <t>CHANNEL_COUNT                  <t>AUDIO_OUTPUT_DEVICE_COUNT
4613                    </t>
4614                    <t>/ AUDIO_OUTPUT_DEVICE_INFO
4615                    </t>
4616                    <t>/ MIDI_INPUT_DEVICE_COUNT
4617                    </t>
4618                    <t>/ MIDI_INPUT_DEVICE_INFO
4619                    </t>
4620                    <t>/ CHANNEL_COUNT
4621                  </t>                  </t>
4622                  <t>/ VOICE_COUNT                  <t>/ VOICE_COUNT
4623                  </t>                  </t>
# Line 3940  Schoenebeck'> Line 4627  Schoenebeck'>
4627                  </t>                  </t>
4628                  <t>/ CHANNEL_INFO                  <t>/ CHANNEL_INFO
4629                  </t>                  </t>
4630                    <t>/ MIDI_INSTRUMENT_MAP_COUNT
4631                    </t>
4632                    <t>/ MIDI_INSTRUMENT_MAP_INFO
4633                    </t>
4634                    <t>/ MIDI_INSTRUMENT_COUNT
4635                    </t>
4636                    <t>/ MIDI_INSTRUMENT_INFO
4637                    </t>
4638                  <t>/ MISCELLANEOUS                  <t>/ MISCELLANEOUS
4639                  </t>                  </t>
4640                  <t>/ TOTAL_VOICE_COUNT                  <t>/ TOTAL_VOICE_COUNT
# Line 3948  Schoenebeck'> Line 4643  Schoenebeck'>
4643  </t>  </t>
4644  <t>unsubscribe_event =  <t>unsubscribe_event =
4645          <list>          <list>
4646                  <t>CHANNEL_COUNT                  <t>AUDIO_OUTPUT_DEVICE_COUNT
4647                    </t>
4648                    <t>/ AUDIO_OUTPUT_DEVICE_INFO
4649                    </t>
4650                    <t>/ MIDI_INPUT_DEVICE_COUNT
4651                    </t>
4652                    <t>/ MIDI_INPUT_DEVICE_INFO
4653                    </t>
4654                    <t>/ CHANNEL_COUNT
4655                  </t>                  </t>
4656                  <t>/ VOICE_COUNT                  <t>/ VOICE_COUNT
4657                  </t>                  </t>
# Line 3958  Schoenebeck'> Line 4661  Schoenebeck'>
4661                  </t>                  </t>
4662                  <t>/ CHANNEL_INFO                  <t>/ CHANNEL_INFO
4663                  </t>                  </t>
4664                    <t>/ MIDI_INSTRUMENT_MAP_COUNT
4665                    </t>
4666                    <t>/ MIDI_INSTRUMENT_MAP_INFO
4667                    </t>
4668                    <t>/ MIDI_INSTRUMENT_COUNT
4669                    </t>
4670                    <t>/ MIDI_INSTRUMENT_INFO
4671                    </t>
4672                  <t>/ MISCELLANEOUS                  <t>/ MISCELLANEOUS
4673                  </t>                  </t>
4674                  <t>/ TOTAL_VOICE_COUNT                  <t>/ TOTAL_VOICE_COUNT
# Line 3966  Schoenebeck'> Line 4677  Schoenebeck'>
4677  </t>  </t>
4678  <t>map_instruction =  <t>map_instruction =
4679          <list>          <list>
4680                  <t>MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value                  <t>MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value
4681                  </t>                  </t>
4682                  <t>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode                  <t>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode
4683                  </t>                  </t>
4684                  <t>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name                  <t>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name
4685                  </t>                  </t>
4686                  <t>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name                  <t>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name
4687                  </t>                  </t>
4688          </list>          </list>
4689  </t>  </t>
4690  <t>unmap_instruction =  <t>unmap_instruction =
4691          <list>          <list>
4692                  <t>MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog                  <t>MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog
4693                  </t>                  </t>
4694          </list>          </list>
4695  </t>  </t>
# Line 3986  Schoenebeck'> Line 4697  Schoenebeck'>
4697          <list>          <list>
4698                  <t>CHANNEL SP sampler_channel                  <t>CHANNEL SP sampler_channel
4699                  </t>                  </t>
4700                    <t>/ MIDI_INSTRUMENT_MAP SP midi_map
4701                    </t>
4702                    <t>/ MIDI_INSTRUMENT_MAP SP ALL
4703                    </t>
4704          </list>          </list>
4705  </t>  </t>
4706  <t>get_instruction =  <t>get_instruction =
# Line 4042  Schoenebeck'> Line 4757  Schoenebeck'>
4757                  </t>                  </t>
4758                  <t>/ TOTAL_VOICE_COUNT_MAX                  <t>/ TOTAL_VOICE_COUNT_MAX
4759                  </t>                  </t>
4760                  <t>/ MIDI_INSTRUMENTS                  <t>/ MIDI_INSTRUMENTS SP midi_map
4761                    </t>
4762                    <t>/ MIDI_INSTRUMENTS SP ALL
4763                    </t>
4764                    <t>/ MIDI_INSTRUMENT SP INFO SP midi_map SP midi_bank SP midi_prog
4765                    </t>
4766                    <t>/ MIDI_INSTRUMENT_MAPS
4767                    </t>
4768                    <t>/ MIDI_INSTRUMENT_MAP SP INFO SP midi_map
4769                  </t>                  </t>
4770                  <t>/ MIDI_INSTRUMENT SP INFO SP midi_bank_msb SP midi_bank_lsb SP midi_prog                  <t>/ FX_SENDS SP sampler_channel
4771                    </t>
4772                    <t>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id
4773                  </t>                  </t>
4774          </list>          </list>
4775  </t>  </t>
# Line 4060  Schoenebeck'> Line 4785  Schoenebeck'>
4785                  </t>                  </t>
4786                  <t>/ CHANNEL SP set_chan_instruction                  <t>/ CHANNEL SP set_chan_instruction
4787                  </t>                  </t>
4788                    <t>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name
4789                    </t>
4790                    <t>/ FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id SP audio_channel_index SP audio_channel_index
4791                    </t>
4792                  <t>/ ECHO SP boolean                  <t>/ ECHO SP boolean
4793                  </t>                  </t>
4794          </list>          </list>
# Line 4074  Schoenebeck'> Line 4803  Schoenebeck'>
4803                  </t>                  </t>
4804                  <t>/ MIDI_INPUT_DEVICE SP string                  <t>/ MIDI_INPUT_DEVICE SP string
4805                  </t>                  </t>
4806                    <t>/ FX_SEND SP sampler_channel SP midi_ctrl
4807                    </t>
4808                    <t>/ FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name
4809                    </t>
4810          </list>          </list>
4811  </t>  </t>
4812  <t>reset_instruction =  <t>reset_instruction =
# Line 4084  Schoenebeck'> Line 4817  Schoenebeck'>
4817  </t>  </t>
4818  <t>clear_instruction =  <t>clear_instruction =
4819          <list>          <list>
4820                  <t>MIDI_INSTRUMENTS                  <t>MIDI_INSTRUMENTS SP midi_map
4821                    </t>
4822                    <t>/ MIDI_INSTRUMENTS SP ALL
4823                  </t>                  </t>
4824          </list>          </list>
4825  </t>  </t>
# Line 4094  Schoenebeck'> Line 4829  Schoenebeck'>
4829                  </t>                  </t>
4830                  <t>/ MIDI_INPUT_DEVICE SP number                  <t>/ MIDI_INPUT_DEVICE SP number
4831                  </t>                  </t>
4832                    <t>/ FX_SEND SP sampler_channel SP fx_send_id
4833                    </t>
4834          </list>          </list>
4835  </t>  </t>
4836  <t>load_instruction =  <t>load_instruction =
# Line 4128  Schoenebeck'> Line 4865  Schoenebeck'>
4865                  </t>                  </t>
4866                  <t>/ SOLO SP sampler_channel SP boolean                  <t>/ SOLO SP sampler_channel SP boolean
4867                  </t>                  </t>
4868                    <t>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map
4869                    </t>
4870                    <t>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE
4871                    </t>
4872                    <t>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT
4873                    </t>
4874          </list>          </list>
4875  </t>  </t>
4876  <t>key_val_list =  <t>key_val_list =
# Line 4160  Schoenebeck'> Line 4903  Schoenebeck'>
4903                  </t>                  </t>
4904                  <t>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS                  <t>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS
4905                  </t>                  </t>
4906                  <t>/ MIDI_INSTRUMENTS                  <t>/ MIDI_INSTRUMENTS SP midi_map
4907                    </t>
4908                    <t>/ MIDI_INSTRUMENTS SP ALL
4909                    </t>
4910                    <t>/ MIDI_INSTRUMENT_MAPS
4911                    </t>
4912                    <t>/ FX_SENDS SP sampler_channel
4913                  </t>                  </t>
4914          </list>          </list>
4915  </t>  </t>
# Line 4226  Schoenebeck'> Line 4975  Schoenebeck'>
4975                  </t>                  </t>
4976          </list>          </list>
4977  </t>  </t>
4978  <t>midi_bank_msb =  <t>midi_map =
4979          <list>          <list>
4980                  <t>number                  <t>number
4981                  </t>                  </t>
4982          </list>          </list>
4983  </t>  </t>
4984  <t>midi_bank_lsb =  <t>midi_bank =
4985          <list>          <list>
4986                  <t>number                  <t>number
4987                  </t>                  </t>
# Line 4244  Schoenebeck'> Line 4993  Schoenebeck'>
4993                  </t>                  </t>
4994          </list>          </list>
4995  </t>  </t>
4996    <t>midi_ctrl =
4997            <list>
4998                    <t>number
4999                    </t>
5000            </list>
5001    </t>
5002  <t>volume_value =  <t>volume_value =
5003          <list>          <list>
5004                  <t>dotnum                  <t>dotnum
# Line 4264  Schoenebeck'> Line 5019  Schoenebeck'>
5019                  </t>                  </t>
5020          </list>          </list>
5021  </t>  </t>
5022    <t>fx_send_id =
5023            <list>
5024                    <t>number
5025                    </t>
5026            </list>
5027    </t>
5028  <t>engine_name =  <t>engine_name =
5029          <list>          <list>
5030                  <t>string                  <t>string
# Line 4276  Schoenebeck'> Line 5037  Schoenebeck'>
5037                  </t>                  </t>
5038          </list>          </list>
5039  </t>  </t>
5040    <t>map_name =
5041            <list>
5042                    <t>stringval
5043                    </t>
5044            </list>
5045    </t>
5046  <t>entry_name =  <t>entry_name =
5047          <list>          <list>
5048                  <t>stringval                  <t>stringval
5049                  </t>                  </t>
5050          </list>          </list>
5051  </t>  </t>
5052    <t>fx_send_name =
5053            <list>
5054                    <t>stringval
5055                    </t>
5056            </list>
5057    </t>
5058  <t>param_val_list =  <t>param_val_list =
5059          <list>          <list>
5060                  <t>param_val                  <t>param_val
# Line 4309  Schoenebeck'> Line 5082  Schoenebeck'>
5082          <section title="Events" anchor="events">          <section title="Events" anchor="events">
5083              <t>This chapter will describe all currently defined events supported by LinuxSampler.</t>              <t>This chapter will describe all currently defined events supported by LinuxSampler.</t>
5084    
5085              <section title="Number of sampler channels changed" anchor="SUBSCRIBE CHANNEL">              <section title="Number of audio output devices changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT">
5086                    <t>Client may want to be notified when the total number of audio output devices on the
5087                    back-end changes by issuing the following command:</t>
5088                    <t>
5089                        <list>
5090                            <t>SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT</t>
5091                        </list>
5092                    </t>
5093                    <t>Server will start sending the following notification messages:</t>
5094                    <t>
5095                        <list>
5096                            <t>"NOTIFY:AUDIO_OUTPUT_DEVICE_COUNT:&lt;devices&gt;"</t>
5097                        </list>
5098                    </t>
5099                    <t>where &lt;devices&gt; will be replaced by the new number
5100                    of audio output devices.</t>
5101                </section>
5102    
5103                <section title="Audio output device's settings changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO">
5104                    <t>Client may want to be notified when changes were made to audio output devices on the
5105                    back-end by issuing the following command:</t>
5106                    <t>
5107                        <list>
5108                            <t>SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO</t>
5109                        </list>
5110                    </t>
5111                    <t>Server will start sending the following notification messages:</t>
5112                    <t>
5113                        <list>
5114                            <t>"NOTIFY:AUDIO_OUTPUT_DEVICE_INFO:&lt;device-id&gt;"</t>
5115                        </list>
5116                    </t>
5117                    <t>where &lt;device-id&gt; will be replaced by the numerical ID of the audio output device,
5118                    which settings has been changed. The front-end will have to send
5119                    the respective command to actually get the audio output device info. Because these messages
5120                    will be triggered by LSCP commands issued by other clients rather than real
5121                    time events happening on the server, it is believed that an empty notification
5122                    message is sufficient here.</t>
5123                </section>
5124    
5125                <section title="Number of MIDI input devices changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_COUNT">
5126                    <t>Client may want to be notified when the total number of MIDI input devices on the
5127                    back-end changes by issuing the following command:</t>
5128                    <t>
5129                        <list>
5130                            <t>SUBSCRIBE MIDI_INPUT_DEVICE_COUNT</t>
5131                        </list>
5132                    </t>
5133                    <t>Server will start sending the following notification messages:</t>
5134                    <t>
5135                        <list>
5136                            <t>"NOTIFY:MIDI_INPUT_DEVICE_COUNT:&lt;devices&gt;"</t>
5137                        </list>
5138                    </t>
5139                    <t>where &lt;devices&gt; will be replaced by the new number
5140                    of MIDI input devices.</t>
5141                </section>
5142    
5143                <section title="MIDI input device's settings changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_INFO">
5144                    <t>Client may want to be notified when changes were made to MIDI input devices on the
5145                    back-end by issuing the following command:</t>
5146                    <t>
5147                        <list>
5148                            <t>SUBSCRIBE MIDI_INPUT_DEVICE_INFO</t>
5149                        </list>
5150                    </t>
5151                    <t>Server will start sending the following notification messages:</t>
5152                    <t>
5153                        <list>
5154                            <t>"NOTIFY:MIDI_INPUT_DEVICE_INFO:&lt;device-id&gt;"</t>
5155                        </list>
5156                    </t>
5157                    <t>where &lt;device-id&gt; will be replaced by the numerical ID of the MIDI input device,
5158                    which settings has been changed. The front-end will have to send
5159                    the respective command to actually get the MIDI input device info. Because these messages
5160                    will be triggered by LSCP commands issued by other clients rather than real
5161                    time events happening on the server, it is believed that an empty notification
5162                    message is sufficient here.</t>
5163                </section>
5164    
5165                <section title="Number of sampler channels changed" anchor="SUBSCRIBE CHANNEL_COUNT">
5166                  <t>Client may want to be notified when the total number of channels on the                  <t>Client may want to be notified when the total number of channels on the
5167                  back-end changes by issuing the following command:</t>                  back-end changes by issuing the following command:</t>
5168                  <t>                  <t>
# Line 4386  Schoenebeck'> Line 5239  Schoenebeck'>
5239                  "GET CHANNEL BUFFER_FILL PERCENTAGE"</xref> command was issued on this channel.</t>                  "GET CHANNEL BUFFER_FILL PERCENTAGE"</xref> command was issued on this channel.</t>
5240              </section>              </section>
5241    
5242              <section title="Channel information changed" anchor="SUBSCRIBE INFO">              <section title="Channel information changed" anchor="SUBSCRIBE CHANNEL_INFO">
5243                  <t>Client may want to be notified when changes were made to sampler channels on the                  <t>Client may want to be notified when changes were made to sampler channels on the
5244                  back-end by issuing the following command:</t>                  back-end by issuing the following command:</t>
5245                  <t>                  <t>
# Line 4426  Schoenebeck'> Line 5279  Schoenebeck'>
5279                  all currently active voices.</t>                  all currently active voices.</t>
5280              </section>              </section>
5281    
5282                <section title="Number of MIDI instrument maps changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">
5283                    <t>Client may want to be notified when the number of MIDI instrument maps on the
5284                    back-end changes by issuing the following command:</t>
5285                    <t>
5286                        <list>
5287                            <t>SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT</t>
5288                        </list>
5289                    </t>
5290                    <t>Server will start sending the following notification messages:</t>
5291                    <t>
5292                        <list>
5293                            <t>"NOTIFY:MIDI_INSTRUMENT_MAP_COUNT:&lt;maps&gt;"</t>
5294                        </list>
5295                    </t>
5296                    <t>where &lt;maps&gt; will be replaced by the new number
5297                    of MIDI instrument maps.</t>
5298                </section>
5299    
5300                <section title="MIDI instrument map information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">
5301                    <t>Client may want to be notified when changes were made to MIDI instrument maps on the
5302                    back-end by issuing the following command:</t>
5303                    <t>
5304                        <list>
5305                            <t>SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO</t>
5306                        </list>
5307                    </t>
5308                    <t>Server will start sending the following notification messages:</t>
5309                    <t>
5310                        <list>
5311                            <t>"NOTIFY:MIDI_INSTRUMENT_MAP_INFO:&lt;map-id&gt;"</t>
5312                        </list>
5313                    </t>
5314                    <t>where &lt;map-id&gt; will be replaced by the numerical ID of the MIDI instrument map,
5315                    for which information changes occurred. The front-end will have to send
5316                    the respective command to actually get the MIDI instrument map info. Because these messages
5317                    will be triggered by LSCP commands issued by other clients rather than real
5318                    time events happening on the server, it is believed that an empty notification
5319                    message is sufficient here.</t>
5320                </section>
5321    
5322                <section title="Number of MIDI instruments changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_COUNT">
5323                    <t>Client may want to be notified when the number of MIDI instrument maps on the
5324                    back-end changes by issuing the following command:</t>
5325                    <t>
5326                        <list>
5327                            <t>SUBSCRIBE MIDI_INSTRUMENT_COUNT</t>
5328                        </list>
5329                    </t>
5330                    <t>Server will start sending the following notification messages:</t>
5331                    <t>
5332                        <list>
5333                            <t>"NOTIFY:MIDI_INSTRUMENT_COUNT:&lt;map-id&gt; &lt;instruments&gt;"</t>
5334                        </list>
5335                    </t>
5336                    <t>where &lt;map-id&gt; is the numerical ID of the MIDI instrument map, in which
5337                    the nuber of instruments has changed and &lt;instruments&gt; will be replaced by
5338                    the new number of MIDI instruments in the specified map.</t>
5339                </section>
5340    
5341                <section title="MIDI instrument information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_INFO">
5342                    <t>Client may want to be notified when changes were made to MIDI instruments on the
5343                    back-end by issuing the following command:</t>
5344                    <t>
5345                        <list>
5346                            <t>SUBSCRIBE MIDI_INSTRUMENT_INFO</t>
5347                        </list>
5348                    </t>
5349                    <t>Server will start sending the following notification messages:</t>
5350                    <t>
5351                        <list>
5352                            <t>"NOTIFY:MIDI_INSTRUMENT_INFO:&lt;map-id&gt; &lt;bank&gt; &lt;program&gt;"</t>
5353                        </list>
5354                    </t>
5355                    <t>where &lt;map-id&gt; will be replaced by the numerical ID of the MIDI instrument map,
5356                    in which a MIDI instrument is changed. &lt;bank&gt; and &lt;program&gt; specifies
5357                    the location of the changed MIDI instrument in the map. The front-end will have to send
5358                    the respective command to actually get the MIDI instrument info. Because these messages
5359                    will be triggered by LSCP commands issued by other clients rather than real
5360                    time events happening on the server, it is believed that an empty notification
5361                    message is sufficient here.</t>
5362                </section>
5363    
5364              <section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS">              <section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS">
5365                  <t>Client may want to be notified of miscellaneous and debugging events occurring at                  <t>Client may want to be notified of miscellaneous and debugging events occurring at
5366                  the server by issuing the following command:</t>                  the server by issuing the following command:</t>

Legend:
Removed from v.944  
changed lines
  Added in v.1001

  ViewVC Help
Powered by ViewVC