AMX MAX-CSD 10 manual MAX-CSE:Streaming Commands Port, MAX-CSEStreaming Send_Commands

Models: MAX-CSD 10 MAX-CSE

1 110
Download 110 pages 20.97 Kb
Page 82
Image 82
MAX-CSE: Streaming Commands (Port 1)

NetLinx Programming

MAX-CSE: Streaming Commands (Port 1)

For programming purposes, do not use a hyphen when specifying MPEG functionality. Use MPEG2 and MPEG4 (no dash), do not use MPEG-2 or MPEG-4.

In order for the SET commands (Set Video, Set URL, etc.) to take effect, any active stream MUST FIRST BE HALTED using the STOP command. Once these commands are executed, you can then the PLAY command to restart the stream. The only exception to this procedure is the SET AUDIO, which while during a stream can on the fly be toggled between Microphone and Line.

The streaming system on the MAX-CSE is located at Port 1 in NetLinx D:P:S nomenclature. The MAX-CSE supports the following streaming commands.

MAX-CSE Streaming Send_Commands

Command

Description

 

 

GET ASOURCE

Syntax:

Get a description of the

SEND_COMMAND <DEV>,"'GET ASOURCE'"

current incoming audio

Variable:

source.

format = LINE (from the rear Stereo RCA connectors) or

 

 

MIC (from the rear Microphone port).

 

Example:

 

SEND_COMMAND ENCODER,"'GET ASOURCE'"

 

System response:

 

ASOURCE = LINE

 

Indicates that the MAX-CSE is using/expecting to encode incoming audio from

 

the rear Line-In Stereo RCA connectors.

 

 

GET AUDIO

Requests the configuration of the current audio system. The returned

Get a description of the

information includes: codec, sampling rate, and bit rate.

 

current audio system

Syntax:

configuration.

SEND_COMMAND <DEV>,"'GET AUDIO'"

 

 

Variables:

 

codec = Off, MP2, or MP3.

 

sampling rate = 32 KHz, 44.1 KHz, and 48 KHz. Rate given in KHz

 

(KiloHertz).

 

bit rate = 96 Kbps and 192 Kbps. Effective bit rate in Kbps (kilobits

 

per second).

 

Example:

 

SEND_COMMAND ENCODER,"'GET AUDIO'"

 

System response:

 

AUDIO = MP2 48 10

 

Indicates that the audio system is configured to use an MP2 audio stream, with

 

a sampling rate of 48 KHz, and a bit rate of 10 Kbps.

 

 

76

MAX-CSE/MAX-CSD10 Operation/Reference Guide

Page 82
Image 82
AMX MAX-CSD 10 manual MAX-CSE:Streaming Commands Port, MAX-CSEStreaming Send_Commands