SDIAUDIOMATRIX SMX S0

Description:

      SDI Audio Matrix allows any of the eight pairs of audio originating
      from the decoder to be routed to any of the eight audio outputs on the SDI
      interface. This enables the customization of the audio channel mappings 
      from their default configuration.  The matrix also allows the placement
      of passthru audio on any of the 8 SDI output pairs.
      
      "Channel pair" denotes two single channels that share the same L/R clock. 
      
      The default mapping is shown below:
      
         SDI Output CH 1=Decoder Originating CH 1
         SDI Output CH 2=Decoder Originating CH 2
         SDI Output CH 3=Decoder Originating CH 3
         SDI Output CH 4=Decoder Originating CH 4
         SDI Output CH 5=Decoder Originating CH 5
         SDI Output CH 6=Decoder Originating CH 6
         SDI Output CH 7=Decoder Originating CH 7
         SDI Output CH 8=Decoder Originating CH 8
      
      NOTE: On Soloist HD Pro and MediaHub HD, only the first two channels, 
            1 & 2, are available originating from the decoder at this time. The 
            other channels originating from the decoder will not carry any 
            audio data.
      
      The CONFIGURATION SAVE command (*.DCMD CFG SAVE) will save the setting in
      non-volatile memory.
    

Form:

      Command Handler: DCMD
      SDIAUDIOMATRIX|SMX|S0 [CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 [CH9 CH10 CH11 CH12 CH13 CH14 CH15 CH16]]
      Argument List:
      CH1           Sets the input audio source for channel 1.
      CH2           Sets the input audio source for channel 2.
      CH3           Sets the input audio source for channel 3.
      CH4           Sets the input audio source for channel 4.
      CH5           Sets the input audio source for channel 5.
      CH6           Sets the input audio source for channel 6.
      CH7           Sets the input audio source for channel 7.
      CH8           Sets the input audio source for channel 8.
      
      CH9           Sets the input audio source for channel 9*.
      CH10          Sets the input audio source for channel 10*.
      CH11          Sets the input audio source for channel 11*.
      CH12          Sets the input audio source for channel 12*.
      CH14          Sets the input audio source for channel 13*.
      CH15          Sets the input audio source for channel 14*.
      CH15          Sets the input audio source for channel 15*.
      CH16          Sets the input audio source for channel 16*.

      *CH9-CH16 are not available on all products.
      
      Soloist HD Pro and MediaHub HD:
      Valid channels are CH1 - CH8. 
      Valid input values are 1 - 8.
      
      RD Systems:
      Valid channels are CH1 - CH16 
      Valid input decode audio values are 1 - 16, 0 (disable) and -1 (Auto)

      SDIAUDIOMATRIX|SMX|S0 STATUS
      This will show the status for all the audio channels going out on both the SDI and
      SDIALT ports.  This command is only valid on RD systems.

    

Response:

      SDIAUDIOMATRIX RESPONSE
        Verbose- "OK\r\n" to acknowledge receipt of command, or
                 "ERROR- [Description]\r\n" if error, ending command
        Terse-   "0\r\n" to acknowledge receipt of command, or
                 "[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
                 "\r\n" concludes modify responses (empty line)
    

Examples:

      Verbose command to get the SDI Audio Matrix configuration.
      
      *.DCMD SMX<enter>
         Response is: OK\r\n
                      SDIAUDIOMATRIX CH1=1 CH2=2 CH3=1 CH4=2 CH5=5 CH6=6 CH7=7
                                     CH8=8
                                     
      Terse command to get the SDI Audio Matrix configuration. (Response in JSON format)
      
      *.DCMD S0<enter>
         Response is: OK\r\n
      [-1,-1,-1,-1,15,16,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]
                      
      Verbose command to set the SDI Audio Matrix configuration.
      
      *.DCMD SMX 1 2 3 4 5 6 7 8<enter>
         Response is: OK\r\n
         
      Terse command to set the SDI Audio Matrix configuration.
      
      *.DCMD S0 1 2 3 4 5 6 7 8<enter>
         Response is: 0\r\n

      Verbose command to set the SDI Audio Matrix configuration and place
      the passthru audio on channel pair 4.
      
      *.DCMD SMX 1 2 3 4 5 6 17 18<enter>
         Response is: OK\r\n

      Verbose command to get the SDI Audio Matrix status.
      *.DCMD SMX STATUS<enter>
         Response is: OK\r\n
            DstCh=0 SDI=SDI SrcType=PASSTHRU SrcCh=1 Pid=256 StreamType=DOLBY_E BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=1 SDI=SDI SrcType=PASSTHRU SrcCh=2 Pid=256 StreamType=DOLBY_E BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=2 SDI=SDI SrcType=AUDIO SrcCh=3 Pid=257 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=3 SDI=SDI SrcType=AUDIO SrcCh=4 Pid=257 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=4 SDI=SDI SrcType=AUDIO SrcCh=5 Pid=258 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=5 SDI=SDI SrcType=AUDIO SrcCh=6 Pid=258 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=6 SDI=SDI SrcType=AUDIO SrcCh=7 Pid=259 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=7 SDI=SDI SrcType=AUDIO SrcCh=8 Pid=259 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=8 SDI=SDI SrcType=AUDIO SrcCh=9 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=9 SDI=SDI SrcType=AUDIO SrcCh=10 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=10 SDI=SDI SrcType=AUDIO SrcCh=11 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=11 SDI=SDI SrcType=AUDIO SrcCh=12 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=12 SDI=SDI SrcType=AUDIO SrcCh=13 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=13 SDI=SDI SrcType=AUDIO SrcCh=14 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=14 SDI=SDI SrcType=AUDIO SrcCh=15 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=15 SDI=SDI SrcType=AUDIO SrcCh=16 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=0 SDI=SDIALT SrcType=PASSTHRU SrcCh=1 Pid=256 StreamType=DOLBY_E BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=1 SDI=SDIALT SrcType=PASSTHRU SrcCh=2 Pid=256 StreamType=DOLBY_E BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=2 SDI=SDIALT SrcType=AUDIO SrcCh=3 Pid=257 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=3 SDI=SDIALT SrcType=AUDIO SrcCh=4 Pid=257 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=4 SDI=SDIALT SrcType=AUDIO SrcCh=5 Pid=258 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=5 SDI=SDIALT SrcType=AUDIO SrcCh=6 Pid=258 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=6 SDI=SDIALT SrcType=AUDIO SrcCh=7 Pid=259 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=7 SDI=SDIALT SrcType=AUDIO SrcCh=8 Pid=259 StreamType=MPEG1_Audio BitRate=384 SampleRate=48000 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=8 SDI=SDIALT SrcType=AUDIO SrcCh=9 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=9 SDI=SDIALT SrcType=AUDIO SrcCh=10 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=10 SDI=SDIALT SrcType=AUDIO SrcCh=11 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=11 SDI=SDIALT SrcType=AUDIO SrcCh=12 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=12 SDI=SDIALT SrcType=AUDIO SrcCh=13 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=13 SDI=SDIALT SrcType=AUDIO SrcCh=14 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=14 SDI=SDIALT SrcType=AUDIO SrcCh=15 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz
            DstCh=15 SDI=SDIALT SrcType=AUDIO SrcCh=16 Pid=0 StreamType=NONE BitRate=0 SampleRate=0 ToneEn=OFF ToneMute=OFF ToneAtten=-20 dB ToneFreq=1000 Hz

      Terse Command to get the SDI Audio Matrix Status. (JSON format)

	{
    "sdialt":[
      {
         "bitRate":0,
         "pid":65516,
         "sampleRate":0,
         "srcCh":0,
         "srcType":1,
         "streamType":65552,
         "tone":{
            "attenuation":0,
            "enable":0,
            "frequency":0,
            "mute":0
         }
      },
      {
         "bitRate":0,
         "pid":65516,
         "sampleRate":0,
         "srcCh":0,
         "srcType":1,
         "streamType":65541,
         "tone":{
            "attenuation":0,
            "enable":0,
            "frequency":0,
            "mute":0
         }
      }, .....
   ]
}



    

Notes:

      On Soloist HD Pro and MediaHub HD, only the first two channels, 1 & 2, are 
      available originating from the decoder at this time. The other channels 
      originating from the decoder will not carry any audio data.
      
      On RDs the channels must share the same L/R clock.  For example you cannot argue...
      *.DCMD SMX 1 3
      ...because 1 and 3 do not belong to the same pair.  Also the lower number must
      be argued first.  The following is also invalid...
      *.DCMD SMX 2 1

     On RDs the value of -1 will set the next available channel in the slot in numerical
     order.  If all -1 are used, then the output will be the same as the DAP settings. The
     value of -1 must be argued in pairs.  SMX 1 2 -1 4 5 6... is invalid.  It should be,
     SMX 1 2 -1 -1 5 6...
     
     Example:
        SMX -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
         would be the same as
        SMX 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

        SMX 5 6 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 2
         would be the same as
        SMX 5 6 3 4 7 8 9 10 11 12 13 14 15 16 1 2
     
     The RD's status response provides the bit-rate of each audio with the exception of
     a pass-through source.  In this case you are provided the TMR.
     
      The CONFIGURATION SAVE command (*.DCMD CFG SAVE) will save the setting in
      non-volatile memory.
    
Created By: Adtec Digital