background image

Compact FLASH III Digital Audio System 

Copyright©1992-2010 by ACS, Sarasota, Florida 

44 

ALL RIGHTS RESERVED 

 

Controlling Eight LEDs with a Sound Sequence 

The CFSound-III can play a sequence of sounds, one for every button push, turning on a LED associated 

with each sound. This requires a Contact I/O 8 module. 

The  LEDs,  button  and  speakers  are  wired  as  shown.  Select  the  series  resistor  for  the  LED  to  set  the 

current with the LED forward voltage drop and power supply: 

IN

P

U

T

8

IN

P

U

T

7

IN

P

U

T

6

IN

P

U

T

5

IN

P

U

T

4

IN

P

U

T

3

IN

P

U

T

2

G

R

O

U

N

D

IN

P

U

T

1

G

R

O

U

N

D

INP1

1

2

3

4

5

6

7

8

9

10

O

U

T

 4

 N

.O

.

O

U

T

 4

 C

O

M

O

U

T

 3

 N

.O

.

O

U

T

 3

 C

O

M

O

U

T

 2

 N

.O

.

O

U

T

 1

 C

O

M

O

U

T

 2

 C

O

M

O

U

T

 1

 N

.O

.

O

U

T

 4

 N

.C

.

O

U

T

 3

 N

.C

.

OUT1

1

2

3

4

5

6

7

8

9

10

O

U

T

 8

 N

.O

.

O

U

T

 8

 C

O

M

O

U

T

 7

 N

.O

.

O

U

T

 7

 C

O

M

O

U

T

 6

 N

.O

.

O

U

T

 5

 C

O

M

O

U

T

 6

 C

O

M

O

U

T

 5

 N

.O

.

O

U

T

 8

 N

.C

.

O

U

T

 7

 N

.C

.

OUT2

1

2

3

4

5

6

7

8

9

10

G

R

O

U

N

D

1

0

V

 -

 1

8

V

 D

C

P

T

T

 C

o

n

ta

c

t N

.O

.

P

T

T

 C

o

n

ta

c

t C

O

M

In

p

u

t C

o

n

ta

c

t 2

6

In

p

u

t C

o

n

ta

c

t 2

5

R

ig

h

t S

p

e

a

k

e

+

L

e

ft 

S

p

e

a

k

e

-

L

e

ft 

S

p

e

a

k

e

+

R

ig

h

t S

p

e

a

k

e

-

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 time that the button is pushed, 

name the sounds 01CSN.WAV, 02CSN.WAV, … , 08CSN.WAV.  

Add the following text file CFSOUND.INI onto the CF card along with the sound files: 

 

[Contacts] 
SequenceContactNumber=25 
FirstSoundNumber=1 
LastSoundNumber=8 

 

Be sure to leave a blank line at the end of the file so that the CFSound can „see‟ the last line of text. 

Now, every actuation of the button will play the next sound in the sequence, without being interrupted, 

and the associated LED illuminates while the sound is playing. 

To make the CFSound play the entire sequence of sounds when the button is pushed, add the additional 

entry to the CFSOUND.INI text file in the 

[Contacts]

 section: 

AutoplayEntireSequence=TRUE 

See the 

Sequential Sound Playout

 section above for more information. 

Summary of Contents for CFSound-III

Page 1: ...ct FLASH Digital Audio System Revision 4 22 Monday August 23 2010 6233 E S awgrass R d S arasota F L 34240 941 377 5775 F AX 941 378 4226 www acscontrol com Copyright c 1992 2010 by ACS Sarasota FL AL...

Page 2: ...ing the Compact FLASH Card 11 Compact Flash Card Requirements 11 Installing and Removing the Compact FLASH Card 11 Audio Rates Supported 11 Image Formats Supported 12 Formatting the CF Card 12 Modes o...

Page 3: ...FSound III Video Graphics Adaptor Module 37 Contact Wiring 38 Analog Input Wiring 39 DMX Wiring 39 Connecting a Motion Sensor 41 Normal Sized Motion Sensor 41 Small Sized Motion Sensor 42 Connecting M...

Page 4: ...As the files are copied to the Compact FLASH Card they are renamed This process instructs the Compact FLASH III Digital Audio System how and when to play the copied files See the Quick Start section...

Page 5: ...ACS supplies different versions of the wall mounted transformer power supply for the CFSound III The designated positive lead which should be connected to pin 9 of the Main connector with the other n...

Page 6: ...UTPUTS ARE NOT REFERENCED TO GROUND EACH SPEAKER REQUIRES ITS OWN PAIR OF WIRES AND NEITHER WIRE MAY BE CONNECTED TO GROUND GROUND 10V 18V DC PTT Contact N O PTT Contact COM Input Contact 26 Input Con...

Page 7: ...ered in non volatile memory on the CFSound III and is restored to it s last setting upon power up The Up and Down button inputs are also available on the VOL connector along the front edge of the prin...

Page 8: ...e 1 Connect the transformer 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 III W...

Page 9: ...undIII CFSound3TestSounds zip 5 Extract the test sounds onto the formatted Compact Flash card Browse to the CF drive 6 Carefully insert the CF card into the CFSound III The Green LED should flash fast...

Page 10: ...resettable fuse to be tripped Try removing power waiting 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...

Page 11: ...u wish to avoid this issue you will find that many computer software outlets have CD s with non copyrighted music and audio sound effects that you may use without limitation They are commonly found in...

Page 12: ...ystem to format your Compact Flash card in a Windows XP PC Modes of Operation The CFSound III can operate in one of two different modes 1 Conventional CFSound where the sound play out is controlled by...

Page 13: ...rtion of the filename and the controlling state of the contact is specified by additional trailing non numeric character attributes Sounds may be played when a contact closes opens or only while a con...

Page 14: ...60 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 B_ 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 C_ 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 D_...

Page 15: ...s playing and multiple background sounds are played in the numerical sequence of the two digit input number Sounds that are marked as Background may not be marked for contact closure or open play whil...

Page 16: ...sed with B R File repeats may not be used with B S On board PTT relay and contact XX will activate while sound is playing B File plays as background when no other sound is playing may not be used with...

Page 17: ...ir filename after the hex number are played in numerical sequence as background sounds when no other audio tracks are being played continuously repeating the sequence A background audio track will cea...

Page 18: ...arameter entries Section Parameter Description Comm Communications Port Section BaudRate ddddd Sets the serial port baudrate to the decimal value ddddd Default 2400 DEBUG Debug Section ShowStartStop T...

Page 19: ...SaveNIContacts TRUE FALSE Setting this value to TRUE will remember any contact events that occur while a non interruptible sound is playing Note that this can cause a non interruptible sound to play...

Page 20: ...el Input is controlled by the LineInputEnableContactNumber Default FALSE Line level Input disabled DMX DMX Section IsMaster TRUE FALSE Setting this value to TRUE enables the CFSound as a DMX controlle...

Page 21: ...RESERVED Sample CFSOUND INI file These three lines typed into a text file with a text editor and saved on the CF card as CFSOUND INI along with sounds named with the Background filename attribute prov...

Page 22: ...ows a sample of Quiz mode sound file names and their contact associations given the following values for the Quiz section parameters QuestionContacts 4 AnswerContacts 4 AnswerWithoutQuestionSound 7E a...

Page 23: ...select different sets of Answer contacts sounds such as various languages or features After a Question contact is activated it remains active selecting a given set of Answer contact sounds until anot...

Page 24: ...quence through 16 different sounds 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 Conta...

Page 25: ...creased or decreased using a simple ASCII protocol SOH v XX ETX where The speaker amplifier may also be muted via commands received via the serial port Muting does not affect the current volume settin...

Page 26: ...eginning and ending channel fade values as well 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...

Page 27: ...file before it repeats A background or other sound 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...

Page 28: ...xt command DMX Channel Value Description 50 0 No Operation Command 51 10 Sound Number 52 255 Volume The SlaveBaseChannel 2 continually updates the CFSound III volume as DMX frames are received this ch...

Page 29: ...nstalled Video Graphics Adaptor module with an attached display and PS 2 keyboard Program statements comprised of language elements are interactively keyed in developing and debugging programs that ma...

Page 30: ...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 Mode Filename Format found on the CF Card starting ACS Basic...

Page 31: ...at 16 bit stereo and 44 1KHz Please be certain that your recording environment is absolutely quiet Also remember that digital play out devices do not introduce any static of their own other than quan...

Page 32: ...top the Red LED will go out and the file will be renamed to associate it with the contact closure Problems during or after the recording are indicated by a flashing Red LED error code Pressing the con...

Page 33: ...INPUT2 GROUND INPUT1 GROUND INP1 1 2 3 4 5 6 7 8 9 10 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 W...

Page 34: ...at 1A 30VDC or 0 5A 125VAC The Output connectors OUT1 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...

Page 35: ...INP3 INP2 INP1 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 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 G...

Page 36: ...sections below for a discussion of the electrical input structure and connections The pinout is shown in the following diagram and table INPUT8 INPUT7 INPUT6 INPUT5 INPUT4 INPUT3 INPUT2 GROUND INPUT1...

Page 37: ...l for more information PS 2 VGA The DB 15 connector provides an analog VGA connection to a LCD or other computer monitor The use of a short high quality video cable is recommended The PS 2 connector p...

Page 38: ...5 mA Switches may be one of two forms Normally Open 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...

Page 39: ...re along the network s daisy chain DMX devices such as lights are connected in a daisy chain fashion from the controller to light 1 to light 2 to light 3 and so forth According to the standard a DMX 5...

Page 40: ...data cable designed for EIA RS 485 such as Belden 9841 Belden 7200A or Belden 3105A is recommended NOTE The use of XLR microphone wire or cabling is not recommended as it is not designed for high spe...

Page 41: ...ensor CFSound III MAIN GE AP100 Motion Sensor Pins 1 4 BLK Speakers Pin 5 WHT Contact Input 25 Pin 9 BLK WHT RED 12VDC from transformer 12VDC power to motion sensor Pin 10 BLK BLK BLUE Ground from tra...

Page 42: ...ize Motion Sensor Pins 1 4 BLK Speakers Pin 5 WHT Contact Input 25 Pin 9 BLK WHT RED 12VDC from transformer 12VDC power to motion sensor Pin 10 BLK BLK Ground from transformer Ground to motion sensor...

Page 43: ...e table of contact sound names Speaker Rear Contact I 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...

Page 44: ...10 GROUND 10V 18V DC PTT Contact N O PTT Contact COM 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...

Page 45: ...on the MAIN connector and can be thought of as a switch 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...

Page 46: ...t 25 26 for inputs Additional Inputs and outputs are added by adding I O Modules The CFSound III revision 2 can accept one I O module the CFSound III revision 3 can accept two I O modules Q I have a m...

Page 47: ...d s non interruptible You can also control the unit through 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 mo...

Page 48: ...ies A new window opens named Properties For Sound 3 Change the Format Conversions Choose From drop down box to All Formats or Recording Formats 4 Next click on Convert Now a new window named Sound Sel...

Page 49: ...Contact Sense 8 The Contact I O 8 has 8 contact sense inputs and 8 contact outputs The Contact Sense 8 has 8 contact sense inputs and the Contact Sense 24 has 24 contact sense inputs The CFSound III r...

Page 50: ...it take the CFSound III to play a sound in response to a contact closure The unit debounces the contact inputs by sampling them every 20mSEC It requires a three sample sequence of open open closed to...

Page 51: ...nd Table Sound Sample Sound Sound Filename Rate Offst Length C O P R S B N 1 01CS WAV 44100 Hz M 44 44016 C S 2 02CS WAV 44100 Hz M 44 40900 C S 3 03CS WAV 44100 Hz M 44 44016 C S 4 04CS WAV 44100 Hz...

Page 52: ...Compact FLASH III Digital Audio System Copyright 1992 2010 by ACS Sarasota Florida 52 ALL RIGHTS RESERVED Mechanical...

Page 53: ...be processed Corrected problem with PlaySound not clearing the CurrentPlaySound before calling IsValidWaveFile that led to Basic incorrectly playing mono sounds as stereo Upgraded ACS Basic to v1 4 3...

Page 54: ...in Read WriteDmxIO 4 15 2 10 09 Increased MAX_DMX_SCENE_CHANNELS from 16 to 32 Upgraded ACS Basic to v1 19 4 16 2 26 09 Corrected OneSecondPrescaler and SoundFrameTimerPrescaler operation in Timer0_P...

Page 55: ...d From Back Female To PC From Back 1 5 6 9 2 TxD from CFSound 3 RxD to CFSound 5 GROUND 1 5 6 9 JB2 jumpered 1 2 3 4 Note that this same cable may be used to view the CFSound III s power up diagnostic...

Page 56: ...ellipsis button to navigate to the desired firmware file if the filename and path are not correct Press the Comm button to select the correct serial port that the CFSound III is connected to if not c...

Page 57: ...at there is an initial delay of up to 15 seconds while the flash memory on the CFSound III is being erased The progress bar above the status window advances as programming proceeds 5 After programming...

Page 58: ...connect 1 to 2 and 3 to 4 as shown For SDRAM firmware versions re install the shunt on the BOOT jumper block so that 1 to 2 is connected and 3 to 4 is not connected as shown 8 Reset the CFSound III T...

Page 59: ...r breach of the warranty in this paragraph shall be to replace or repair the specified product or to correct the design of the specified product Under no circumstances shall ACS its owners officers em...

Reviews: