background image

Compact FLASH III Digital Audio System 

Copyright©1992-2007 by ACS, Sarasota, Florida 

19 

ALL RIGHTS RESERVED  

Basic Mode 

In Basic Mode, the operation of the CFSound-III is controlled by the interpreted execution of a user 

written  program  that  is  written  in  the  ACS  Basic  language.   BASIC  is  the  acronym  for  Beginners  All-
purpose  Symbolic  Instruction  Code 

 

a  easy  to  learn  programming  language  developed  by  Kemeny  & 

Kurtz  at  Dartmouth  in  1964.  Programs  consist  of  numbered  lines  with  one  or  more  English  keywords 
describing the operations that the user wants to have performed.  

The  BASIC  interpreter  built-in  to  the  CFSound-III  implements  most  of  the  language  elements  for 

working with integers, strings and files as well as providing access to the CFSound-III hardware features 
such as contacts, timers, clock and playing sounds. The language elements are outlined in the separate ACS 
Basic User s Manual

Programs may be developed two different ways: 

1.

 

Interactively  using  a  terminal  emulator  such  as  Windows  HyperTerminal  connected  to  the 
CFSound s serial port. Language elements are keyed-in, developing and debugging programs 
that may be saved on the CF card. 

2.

 

Offline  using  a  text  editor  such  as  Windows  Notepad.  The  files  are  then  saved  onto  the  CF 
card for debugging when inserted into the CFSound. 

Once a program has been developed and tested, it is placed onto the CF card named CFSOUND.BAS 

along with any other required files. The CFSound will then load and execute this file upon power-up, reset 
or CF card insertion, effectively customizing the unit. 

Summary of Contents for Compact FLASH III

Page 1: ...Revision 3 13 Thursday February 08 2007 6233 E Sawgrass R d Sarasota FL 34240 941 377 5775 F AX 941 378 4226 www acscontrol com Copyright c 1992 2007 by ACS Sarasota FL ALL RIGHTS RESERVED...

Page 2: ...Sound Mode 9 Filename Formats 9 Sample Filenames 11 Compact FLASH Card Loading and Scanning 12 Background Audio Tracks 12 CFSOUND INI File 12 Quiz Kiosk Mode 15 Sequential Sound Playout 17 RS 232 Seri...

Page 3: ...Compact FLASH III Digital Audio System Copyright 1992 2007 by ACS Sarasota Florida 3 ALL RIGHTS RESERVED Mechanical 32 Firmware Revisions 33 Upgrading the Firmware 34...

Page 4: ...0 000 times Sound files are easily copied onto the card via your PC or laptop using a Compact FLASH to PCMCIA Compact FLASH to USB or parallel port adapter As the files are copied to the Compact FLASH...

Page 5: ...enclosure has a white stripe on the positive lead which should be connected to pin 9 of the Main connector with the other lead to pin 10 The version in the beige enclosure has a black stripe on the n...

Page 6: ...ND NEITHER WIRE MAY BE CONNECTED TO GROUND GROUND 10V 18V DC 1 2 3 4 5 6 7 8 9 10 PTT Contact N O PTT Contact COM Input Contact 26 Input Contact 25 Right Speaker Left Speaker Left Speaker Right Speake...

Page 7: ...he Down button lowers the volume level Pressing and holding the button for second starts an automatic volume increase decrease until the button is released or the maximum minimum volume is achieved Th...

Page 8: ...hted If you 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 commonl...

Page 9: ...ire file I O via the serial port If a CF 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 with...

Page 10: ...152 153 154 155 156 157 158 159 A 160 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 2...

Page 11: ...er sound is playing and multiple background sounds are played in the numerical sequence of the two digit input number starting with the special file BACKGRND WAV which is treated as if it were file 00...

Page 12: ...Compact FLASH Card with the name BACKGRND WAV this sound file will play only when no other audio tracks are being played It will cease playing when the command is issued to play another sound file Onc...

Page 13: ...the contact is re activated Default FALSE SequenceContactNumber dd Sets the number of the contact that will play sounds in sequence to the decimal value dd Default 0 no sequencing FirstSoundNumber dd...

Page 14: ...contact number when the OffsetContactNumber input is active to offset the actual sound number that will play to the decimal value dd Does not affect Sequence or Quiz mode Default 0 no offset amount A...

Page 15: ...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 16: ...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 17: ...unds 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 F...

Page 18: ...be set increased 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 volu...

Page 19: ...with integers strings and files as well as providing access to the CFSound III hardware features such as contacts timers clock and playing sounds The language elements are outlined in the separate ACS...

Page 20: ...ted file type the sound doesn t start or stops playing Four No valid WAV files of a CFSound Mode Filename Format found on the CF Card starting ACS Basic This code will continue until a Basic RUN comma...

Page 21: ...eed to boost your input signal by using a pre amp or by some other means 2 Edit the clip until satisfied You can use a sound editor or filter program such as Syntrillium s Cool Edit to normalize the a...

Page 22: ...limiting resistor in series The output transistor of each optocoupler has a 10K pullup resistor on its collector with the emitter connected to ground and is buffered by an inverting gate The followin...

Page 23: ...of each optocoupler has a 10K pullup resistor on its collector with the emitter connected to ground and is buffered by an inverting gate The following diagram is representative of one input INPUTx GRO...

Page 24: ...OUT 3 COM OUT 2 N O OUT 1 COM OUT 2 COM OUT 1 N O 1 2 3 4 5 6 7 8 9 10 OUT 4 N C OUT 3 N C OUT1 OUT 8 N O OUT 8 COM OUT 7 N O OUT 7 COM OUT 6 N O OUT 5 COM OUT 6 COM OUT 5 N O 1 2 3 4 5 6 7 8 9 10 OU...

Page 25: ...rent from the corresponding input pin to ground A Ground connection is supplied on pins 1 and 10 of each Input connector for this purpose The input current sink requirement is approximately 15 mA The...

Page 26: ...FSound III Contact Modules can work with either form of switch by using the appropriate filename letter token in the filename A sound can be played when a Normally Open switch closes by placing the C...

Page 27: ...Mode Filename Format files on the card Q What Inputs and outputs are available on the main CFSound board without adding I O Modules The CFSound main board has a single PTT Push To Talk Relay for an ou...

Page 28: ...sound only while input 1 is closed the sound file would be named 01CPR WAV Sounds are normally interruptible whenever another input is activated but you can also add the character N to the filename a...

Page 29: ...nel to bridge tied speakers no ground reference Q How do I use the Windows Sound Recorder to make recordings 1 Click on the Start Button then Programs then Accessories then Entertainment then Sound Re...

Page 30: ...lume may be adjusted by pushbuttons on the front of the unit Q When wiring the power supply connector to the supplied power supply which side is plus and which side is ground Please see the MAIN conne...

Page 31: ...are Revision HDX 3 07 Serial Number 011724C2105G2743 of Cylinders 7942 of Heads 16 of Sectors Track 63 of Sectors 8005536 Using partition type 1 at sector 63 Scanning card directory for WAV files Soun...

Page 32: ...e CFSound III v3 10 on Nov 15 2006 12 39 32 cksum 8DF2A34E Model Number SanDisk SDCFH 64 Firmware Revision Vdg 8 21 Serial Number 111921F2403S0502 of Cylinders 490 of Heads 8 of Sectors Track 32 of Se...

Page 33: ...playout 3 7 8 01 06 Integration of ACS Basic interpreter Changed contact debounce processing to force on board contacts 25 26 at the end of the contact array so they can be treated identically everyp...

Page 34: ...yahoo net 69wirdb9mfex html http cablesonline stores yahoo net db9femslimge html As an alternative a cable may be constructed with a pair of DB9 Female solder cup connectors and three wires Note that...

Page 35: ...utility Press the 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 3 is connec...

Page 36: ...e that 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 procedes 5 After program...

Page 37: ...ct FLASH III Digital Audio System Copyright 1992 2007 by ACS Sarasota Florida 37 ALL RIGHTS RESERVED CFSound III 7 Re install the shunts on the BOOT jumper block so they connect 1 to 2 and 3 to 4 as s...

Reviews: