background image

Play / Queue Sound Command 

 

Sound playout can be controlled via commands received via the serial port. Sounds may be started, 

stopped, queued to play sequentially and the queue flushed using variations of the ‘p’ command: 

<SOH> p {+/-/&/~/!} XX <ETX> 

 

where: 

 

Examples: 

Start playing sound #25:  

<SOH>p+19<ETX> 

Stop playing sound #25 (if it was playing): 

<SOH>p-19<ETX> 

Stop playing all sounds (background sounds will resume): 

<SOH>p-00<ETX> 

Queue sounds #26 and #48 to be played in sequence: 

<SOH>p&1A<ETX><SOH>p&30<ETX> 

Stop playing the current sound and flush the queued sounds: 

<SOH>p!00<ETX> 

Up to 128 sounds may be queued. Sounds that are queued are played in succession in the order that they 

were queued only when no other sound is playing until the queue is exhausted or flushed. Note that this can 
occur at the end of the current background sound file before  it repeats. A background or other sound that is 
playing may be stopped by issuing a “

<SOH>p-00<ETX>

” serial command sequence to allow queued sounds 

to be heard. The background sound will be resumed when the queue has emptied.  

Volume Command 

Sound  volume  may  also  be  controlled  via  commands  received  via  the  serial  port.    The  volume  is 

essentially  decibel  linear  in  sixty-four,  1db  increments  from  -66db  (value  of  0)  →  0db  (value  of  63).  The 
current volume level is ‘remembered’ in non-volatile memory on the CFSound-IV and is restored to the last 
setting upon power-up.  

Sound  volume  may  be  set,  increased  or  decreased,  faded  up  or  down  using  variations  of  the  ‘v’ 

command: 

<SOH> v {=/+/-/</^/>} XX <ETX> 

<SOH> 

ASCII Start of Header character 01

16

 

(Ctrl-A)

 

ASCII lower case letter ‘p’ 

{+/-} 

ASCII plus character ‘+’ to start a sound, minus character 
‘-‘ to stop a sound 

{&/~/!} 

ASCII ampersand character ‘&’ to queue a sound, tilde 
character ‘~‘ to flush the queued sounds, exclamation 
character ‘!’ to stop the current playing sound and flush 
the queued sounds 

XX 

ASCII two digit hexadecimal number XX

16

 of the sound (01, 

02, . . . , 7E, 7F, . . . , FE (maximum)) 

<ETX> 

ASCII End of Text character 03

16

 

(Ctrl-C)

 

Содержание CFSound-IV

Страница 1: ...mpact FLASH Digital Audio System Revision 1 0 Tuesday June 27 2017 6233 E Sawgrass Rd Sarasota FL 34240 941 377 5775 FAX 941 378 4226 www acscontrol com Copyright c 1992 2014 by ACS Sarasota FL ALL RI...

Страница 2: ...onnection 6 Ethernet Connector 7 Micro USB Connector 7 LINE OUT Connector 7 LINE IN Connector 7 PHONES Connector 8 Remote Volume Connector 8 SD Card Connector 8 Quick Start 9 Troubleshooting 12 No sou...

Страница 3: ...names 29 File Naming Format for CFSound style operation 29 Secure Digital FLASH Card Loading and Scanning 29 Background Audio Tracks 30 CFSOUND INI File 31 Sample CFSOUND INI files 34 Quiz Kiosk Mode...

Страница 4: ...2 Connecting a Motion Sensor 53 Normal Sized Motion Sensor 53 Small Sized Motion Sensor 54 Connecting Multiple Speakers 55 Controlling Eight LEDs with a Sound Sequence 56 Light LED while Sound is Play...

Страница 5: ...ntrol how and when they are played See the Quick Start section below to try out your CFSound IV immediately Features The Compact FLASH IV Digital Audio System incorporates the following features Uses...

Страница 6: ...120 240VAC 50 60Hz wall mounted transformer rated at 15VDC 1 6A ACS supplies different versions of the wall mounted transformer power supply for the CFSound IV The designated positive lead which shou...

Страница 7: ...x denotes additional file control attribute characters See the Filename Formats section below Speaker Connection The speaker terminals on the Main connector provide connections for the two external l...

Страница 8: ...the male SERIAL DB 9P connector JB1 Serial Configuration Jumpers JB1 JB1 JB1 JB1 DEFAULT in copper traces RS 485 DTE RS 232 DCE The board is configured as RS 232 DCE to allow use of a 1 to 1 cable be...

Страница 9: ...higher baud rates It requires disabling the RS 485 enable in the CFSound configuration and implementation of flow control on the host device supplying the data to the CFSound RS 232 CFSound JB1 jumper...

Страница 10: ...IV can be used with RS 485 serial connections The RS 485 Enable configuration item must be turned on to control when the driver is enabled on the bus NOTE Be sure to connect both the Ground of the PC...

Страница 11: ...cle connector is provided and it can be connected to a PC using a standard USB A to micro USB B cable The CFSound IV can be configured to function as either a USB flash drive or USB serial device When...

Страница 12: ...The current volume level is remembered in non volatile memory on the CFSound IV and is restored to its last setting upon power up The Up and Down button inputs are also available on the VOL connector...

Страница 13: ...former speakers and a normally open momentary pushbutton switch to the Main terminal block See Main Connector section above for more information 2 Apply power to the CFSound IV With no SD card inserte...

Страница 14: ...3 Format a SD Flash card using either FAT16 FAT or FAT32...

Страница 15: ...sounds onto the formatted SD Flash card Browse to the SD drive 6 Carefully insert the SD card into the CFSound IV The Green LED should flash fast then go on steady and the background sounds should sta...

Страница 16: ...ting for 15 seconds and reapplying power to allow the internal fuse to reset No sound Red LED flashing The Red LED is flashing a pattern of one or more numbers to help identify the problem Please see...

Страница 17: ...have CD s with non copyrighted music and audio sound effects that you may use without limitation They are commonly found in the multimedia section Please be advised that you as the user are solely res...

Страница 18: ...cards must be formatted as FAT16 or FAT32 file systems SD cards formatted as NTFS Linux EXT3 or other formats are not supported Some digital cameras and cellphones incorrectly format their SD cards Th...

Страница 19: ...RAY 50 13 MAC Address 02 01 23 45 67 89 default 14 Use Static IP 0 DHCP client 1 static IP default 15 IP Address 192 168 1 200 default 16 IP Mask 255 255 255 0 default 17 Router IP Address 192 168 1 1...

Страница 20: ...ined asynchronously in parallel into the CFSound input buffer Any output that the CFSound generates is copied to all three outputs synchronously If a connected output queue fills up the other outputs...

Страница 21: ...a or commands The following configuration settings determine the CFSound IV s serial port operation Setting Description 1 Serial Baud Rate 110 300 600 1200 1800 2400 default 3600 4800 7200 9600 14400...

Страница 22: ...rse 0 default 15 32 Art Net Target IP 255 255 255 255 default MAC Address The Media Access Control address MAC Address is a unique identifier assigned to network interfaces for communications on the p...

Страница 23: ...label assigned to each device participating in the network that uses Internet Protocol for communication The IP Address serves two functions host or network identification and location addressing The...

Страница 24: ...ler subnets This is achieved by designating some high order bits from the host part and grouping them with the network mask to form the IP Mask Here the previous example is modified by moving two bits...

Страница 25: ...ponds to these requests over the control port with three digit status codes and text in ASCII The CFSound IV FTP Server only supports Passive mode and the data port that is used is always one less tha...

Страница 26: ...lay on and interact with this virtual screen which can only be observed via a VNC connection If the configured VNC Server Port is non zero RFB protocol messages will be exchanged over that port to est...

Страница 27: ...Setup connection CFSound Mode Configuration Screen ACS Basic Animated Clock Demo Program...

Страница 28: ...Content type image gif jpg Content type image jpeg bmp Content type image x ms bmp any other extension Content type text plain The content type header is followed by an empty line then the requested f...

Страница 29: ...0AM after reset or power up Local Timezone By definition NTP servers provide Coordinated Universal Time UTC In order to compute the correct time the local time zone offset hours from UTC must be confi...

Страница 30: ...ce per second If a SD card is present the unit looks for a file named CFSOUND BAS and if found starts the ACS Basic interpreter loading the file and executing the Basic program within in Basic Mode Th...

Страница 31: ...th expressed as a two digit HEX number A HEX numeric digit is 0 through 9 and A through F with 0 being equal to decimal 0 A being equal to 10 and F being equal to 15 The first digit MSB of the two dig...

Страница 32: ...contact input is open and it will stop playing the sound when the input is closed If an R appears in the filename after the hex number the sound is repeated that is to say that the same sound file pl...

Страница 33: ...SoundStart section when the sound stops the first 16 channels would be set to values in the SoundStop section of the same file 19CF WAV This file would play once when triggered by contact input 25 on...

Страница 34: ...ng a PC with Tera Term HyperTerminal or other terminal emulator software connected to the Compact FLASH IV Digital Audio System serial port the card loading and scanning messages may be viewed The ser...

Страница 35: ...NDICATION Here is a list of currently supported Sections and Parameter entries Section Parameter Description Comm Communications Port Section BaudRate ddddd Sets the serial port baudrate to the decima...

Страница 36: ...ast sound number that will be played in sequence to the decimal value dd Default 127 sound 127 SaveNIContacts TRUE FALSE Setting this value to TRUE will remember any contact events that occur while a...

Страница 37: ...ne level Input always when no sound is playing When this is FALSE the Line level Input is controlled by the LineInputEnableContactNumber Default FALSE Line level Input disabled DMX DMX Section IsMaste...

Страница 38: ...blank line at end typed into a text file with a text editor and saved on the SD card as CFSOUND INI along with sounds named 01C WAV 02C WAV 08C WAV will play in a sequence with the next sound in the s...

Страница 39: ...given the following values for the Quiz section parameters QuestionContacts 4 AnswerContacts 4 AnswerWithoutQuestionSound 7E and AwaitAnswerSound 7F in the CFSOUND INI file Notice how the Answer conta...

Страница 40: ...as various languages or features After a Question contact is activated it remains active selecting a given set of Answer contact sounds until another Question contact is activated Contact outputs may...

Страница 41: ...ds for the 25th contact a card would be prepared with the 24 sound files named 01C WAV 18C WAV Then a CFSOUND INI file would be added to the card with the entries Contacts SequenceContactNumber 25 Fir...

Страница 42: ...ounds v Control volume a Control amplifier l Control line input The command character is followed by a single character command modifier that is command specific Command Command modifier Modifies comm...

Страница 43: ...is playing may be stopped by issuing a SOH p 00 ETX serial command sequence to allow queued sounds to be heard The background sound will be resumed when the queue has emptied Volume Command Sound vol...

Страница 44: ...controlled via commands received via the serial port The Line Input may be enabled disabled using the l command SOH ASCII Start of Header character 0116 Ctrl A v ASCII lower case letter v ASCII equal...

Страница 45: ...TX Disable the Line Input SOH l ETX SOH ASCII Start of Header character 0116 Ctrl A l ASCII lower case letter l el not one ASCII plus character to enable the line input minus character to disable the...

Страница 46: ...ll as the fade duration can be controlled by entries in the CFSOUND INI file When a sound is played with the filename Dmx scene attribute the CFSound sets the first 32 channels to values obtained from...

Страница 47: ...d that is playing may be stopped by issuing a stop playing all sounds command sequence to allow queued sounds to be heard The background sound will be resumed when the queue has emptied Sound volume m...

Страница 48: ...ation Command 51 10 Sound Number 52 255 Volume The SlaveBaseChannel 2 continually updates the CFSound IV volume as DMX frames are received this channel s value can be tied to a potentiometer or slider...

Страница 49: ...ound website Programs may be developed two different ways 1 Interactively using a terminal emulator such as Windows HyperTerminal connected to the CFSound IV s serial port Operation is similar to 1 ab...

Страница 50: ...file for that input incorrect filename file does not exist 3 Error when reading file file corrupted unsupported file type the sound doesn t start or stops playing 4 No valid WAV files of a CFSound Mod...

Страница 51: ...olutely quiet Recordings at 8 bit or other sample rates can be played as is or up converted using suitable software Also remember that digital play out devices do not introduce any static of their own...

Страница 52: ...med to associate it with the contact closure Problems during or after the recording are indicated by a flashing Red LED error code Pressing the contact again should play back the recorded sound 4 Repe...

Страница 53: ...INP1 Pin Rear Signal Rear Filename Front Signal Front Filename 1 GROUND GROUND 2 INPUT 1 01x WAV INPUT 33 21x WAV 3 INPUT 2 02x WAV INPUT 34 22x WAV 4 INPUT 3 03x WAV INPUT 35 23x WAV 5 INPUT 4 04x WA...

Страница 54: ...1 and OUT2 consist of two 10 pin 2 piece terminal block style mounted adjacently The pinout is shown in the following rear diagram and table OUT 4 N O OUT 4 COM OUT 3 N O OUT 3 COM OUT 2 N O OUT 1 COM...

Страница 55: ...9 10 1 2 3 4 5 6 7 8 9 10 INP3 Pin Rear Signal Front Signal INP2 Pin Rear Signal Front Signal INP1 Pin Rear Signal Front Signal 1 GROUND GROUND 1 GROUND GROUND 1 GROUND GROUND 2 INPUT17 INPUT49 2 INPU...

Страница 56: ...N O or Normally Closed N C Switches that are Normally Open have no electrical connection between the switch terminals unless the switch is activated closed Switches that are Normally Closed have an el...

Страница 57: ...VDC from transformer 12VDC power to motion sensor Pin 10 BLK BLK BLUE Ground from transformer Ground to motion sensor power Ground to motion sensor loop Pin 1 BLK Ground to motion sensor Pin 2 RED 12V...

Страница 58: ...power to motion sensor Pin 10 BLK BLK Ground from transformer Ground to motion sensor power BLK Ground to motion sensor WHT Open collector sensor output RED 12VDC power to motion sensor Name the file...

Страница 59: ...O 8 1 Rear OUT1 Pin 1 2 Rear OUT1 Pin 3 3 Rear OUT1 Pin 5 4 Rear OUT1 Pin 8 5 Rear OUT2 Pin 1 6 Rear OUT2 Pin 3 7 Rear OUT2 Pin 5 8 Rear OUT2 Pin 8 Front Contact I O 8 9 Front OUT1 Pin 1 10 Front OUT...

Страница 60: ...Input Contact 26 Input Contact 25 Right Speaker Left Speaker Left Speaker Right Speaker 1 2 3 4 5 6 7 8 9 10 Power Supply MAIN To play a sequence of sounds with associated LED illumination one every t...

Страница 61: ...tch that can be closed when a sound is playing The LED is wired as shown note that the PTT contacts are simply wired in series with the LED and it s power supply GROUND 10V 18V DC PTT Contact N O PTT...

Страница 62: ...added by adding I O Modules The CFSound IV revision 2 can accept one I O module the CFSound IV revision 3 can accept two I O modules Q I have a motion sensor tied to an old industrial looping tape de...

Страница 63: ...hrough the RS 232 port to start and stop sounds Q Can a background sound or music be played until another input is triggered You can have one or more background sounds that play with an optional delay...

Страница 64: ...op down box to All Formats or Recording Formats 4 Next click on Convert Now a new window named Sound Selection opens 5 Make sure Format is PCM 44 1KHz Stereo or Mono 7 Click on the OK Button to close...

Страница 65: ...half way through the file If you add an N in the filenames of your files it marks the files as non interruptible Then optionally setting SaveNIContacts TRUE in the CONTACTS section of the ini file wi...

Страница 66: ...44100 Hz M 44 40 552 C S 11 0BCS WAV 44100 Hz M 44 55 456 C S 12 0CCS WAV 44100 Hz M 44 42 284 C S 13 0DCS WAV 44100 Hz M 44 51 988 C S 14 0ECS WAV 44100 Hz M 44 52 684 C S 15 0FCS WAV 44100 Hz M 44 5...

Страница 67: ...Sample Power Up Message Basic Mode CFSound IV 0 v0 1 on May 7 2014 15 14 46 DMX I O via Art Net Scanning card directory for WAV files ACS Basic v3 0 May 7 2014 15 14 44 Ready...

Страница 68: ...Mechanical...

Страница 69: ...Firmware Revisions Please see the CFSound_IV_Updating_Firmware_Manual for the latest information about firmware revisions and detailed instructions for updating the CFSound IV firmware...

Страница 70: ...ing to update the firmware A version of this tool is available in the Software section of the ACS CFSound website 2 Download and save the desired firmware version from the ACS website into a folder on...

Страница 71: ...SB A to Micro B cable to connect the CFSound IV to the host PC 9 Start the programming by pushing the FDT Program Flash button 10 Select the USB device to be programmed the VID should be 045B and the...

Страница 72: ...mming is complete a block locking dialog may appear Select Do Nothing then click OK 13 If there have been no errors then programming is complete Disconnect the CFSound IV from the host PC and move the...

Страница 73: ...o replace or repair the specified product or to correct the design of the specified product Under no circumstances shall ACS its owners officers employees or agents be held liable for any special inci...

Отзывы: