.. _gettingStartedRemoteDoc: .. index:: single: Example; Remote Control ============== Remote Control ============== **Control Over UART (RS-232)** :: constant SerialInAddresses { value: ['/LSE', '/LSC', '/LSG'] } switch LowShelfEnable { default: off reset: none meta: 'Low shelf bypass over serial communication.' } signal LowShelfCutoff { default: 100 rate: none reset: none meta: 'Low shelf cut-off frequency.' } signal LowShelfGain { default: 0.0 rate: none reset: MasterReset meta: 'Low shelf gain.' } SerialIn ( addressList: SerialInAddresses address: '/LSE' ) >> LowShelfEnable; SerialIn ( addressList: SerialInAddresses address: '/LSC' ) >> Clip ( minimum: 80 maximum: 2000 bypass: off ) >> Round ( mode: 'Truncate' increment: 5 bypass: off ) >> LowShelfCutoff; SerialIn ( addressList: SerialInAddresses address: '/LSG' ) >> Clip ( minimum: -20.0 maximum: 20.0 bypass: off ) >> Round ( mode: 'Truncate' increment: 0.1 bypass: off ) >> LowShelfGain; AudioIn[1:2] >> LowShelf ( cutOff: LowShelfCutoff gainDB: LowShelfGain bypass: LowShelfEnable ) >> AudioOut[1:2]; Serial Control Messages: /LSE T /LSE/1 T /LSC i 200 /LSC/1 i 200 /LSG f 3.2 /LSG/1 f 3.2 ---- **Control Over Open Sound Control (OSC)** :: constant OscInAddresses { value: ['/LPE', '/LPC'] } switch LowPassEnable [2] { default: off reset: MasterReset meta: 'Low pass bypass over OSC communication.' } signal LowPassCutoff [2] { default: 100 rate: none reset: MasterReset meta: 'Low pass cut-off frequency.' } OscIn ( addressList: OscInAddresses address: '/LPE' ) >> LowPassEnable; OscIn ( addressList: OscInAddresses address: '/LPC' ) >> Clip ( minimum: 80 maximum: 2000 bypass: off ) >> Round ( mode: 'Truncate' increment: 5 bypass: off ) >> LowPassCutoff; AudioIn[1:2] >> LowPass ( cutOff: LowPassCutoff reset: off bypass: LowPassEnable ) >> AudioOut[1:2]; OSC Control Messages: /LPE T /LPE/1 T /LPE/2 T /LPC i 200 /LPC/1 i 200 /LPC/2 i 200