Microsoft Word AM4 Manual 2.7.doc


1 AM-4 Digital Audio Machine Hardware and Software Reference Manual


3 Digital Audio Machine User’s Guide Alcorn McBride Inc. Welcome! iii

4 Every effort has been made to assure the accuracy o f the information contained in this manual, and the reliability of the Alcorn McBride AM-4 Digital Audio Machine ha rdware and software. Errors can sometimes go undetected, however. If you find one, please bring thers. Alcorn it to our attention so that we can correct it for o McBride welcomes comments and suggestions on the co ntent and layout of its documentation. nsibility Applications described herein are for illustrative purposes only. Alcorn McBride Inc. assumes no respo es no representation or warranty that the use of th ese products or liability for the use of these products, and mak further testing or modification. Alcorn McBride pro ducts are for specific applications will be suitable without not intended for use in applications where a malfun ction can reasonably be expected to result in perso nal injury. for use in such applications do so at their own ris Customers using or selling Alcorn McBride products k, and agree to fully indemnify Alcorn McBride for any dam ages resulting from such improper use or sale. This publication was created using Microsoft Word 2 000 for Windows XP, Version 9.0.4119 SR-1. Camera- ready art and illustrations were produced using Cor el DRAW!, Version 8.0 Digital Audio Machine™ is a trademark of Alcorn McB ride Inc., all rights reserved. Copyright  2006 Alcorn McBride, Inc. All rights reserved. Hardware Design: Jim Carstensen, Jeremy Scheinber g Firmware Design: Jim Carstensen, Chris Harden Software Design: ott Harkless, and Joy Burke Jim Carstensen, Chris Harden, Sc Documentation: Jim Carstensen, Chris Harden Mechanical Design: Martin Chaney Demo Material: “You Took Advantage of Me” Performed by Tommy Bridges Sr. Account Manager at Alcorn McBride available Trumpet Traditions CD Demo Material: Copyright 2003 Tommy Bridges All Rights Reserved. Rev 2.7 Document Number 110-100974.00 Alcorn McBride Inc. 3300 S. Hiawassee, Suite 105 Orlando, Florida 32835 (407) 296-5800 FAX: (407) 296-5801 Internet: e-mail: [email protected] Welcome! iv

5 Table of Contents ... 30 Fields in Detail ... ... 1 Welcome! ... ... 33 Restrictions ... ... 33 Comments & Whitespace ... Features ... ... 2 ... 33 Order of Operations ... ... 2 Technical Support ... Double Occupancy ... ... 34 ... 3 Quick Start Guide ... Schedule Builder ... ... 36 Uploading New Schedules to the AM-4 ... 40 . 3 Playing the Demo Material ... ... 41 File Types and Storage ... Controls and Indicators... ... 5 Supported WAV File Formats ... 41 Test Button... ... 6 ... 42 Making MP3 Files ... ... 6 Status LED ... ... 42 Encoding... ... 42 Quality ... . 7 Configuration DIP Switch ... Voltage / Contact Closure Select Switch... . 7 Compact Flash Media ... .. 42 ... 7 Ground Lift ... Formatting the Compact Flash... ... 43 Write Protect ... ... 7 ... 8 Serial Port Mode ... Getting Files Into The AM-4 ... 4 4 Copying Files Directly Using a PC... .. 44 Volume Control and Audio Outputs... 9 Copying Files Using an FTP Connection ... 45 Balanced Outputs (optional) ... ... 9 ... 9 Amplifier Outputs (optional)... Required File Name Formats ... 46 Ethernet Interface (optional)... 10 ... 47 Play List Files ... ... 47 Overview ... Power... ... 10 Special Play List Command Summary... 48 Random Playlists ... ... 49 Serial Port: DB-9 Connector ... 10 ... 49 Example Play List... Parallel Port: DB-37 Connector ... 11 Example Play List with BGM Mode... 50 Example Play List with Output Relay Control .. 50 ... 12 Controlling the AM-4 ... Power Up Operation... ... 51 ... 12 Parallel Control ... ... 12 Parallel Inputs ... Updating Your Firmware... 5 1 Parallel Outputs... ... 16 ... 52 GPS Operation ... Simple Serial Control ... ... 17 Select File... ... 18 ... 53 GPS Builder... Play ... ... 18 Program Description... ... 54 Loop Play ... ... 18 ... 57 Connection Diagram... ... 18 Play File ... ... 57 Program Operation ... ... 19 Loop File ... .. 59 Operating the AM-4 with GPS ... ... 19 Pause ... 60 Connecting an LED or LCD Sign... Reset... ... 19 Troubleshooting Guide / FAQ ... .. 61 Advanced Serial Protocol ... 20 ... 65 Mechanical Information... Acknowledge Codes... ... 23 ... 65 Mechanical Dimensions... Surface Mounting ... ... 65 Serial Error Codes... ... 23 Rack Mounting ... ... 67 ... 23 Ethernet Control ... Specifications ... ... 69 Hardware and Software Requirements ... 23 Control Message Format ... ... 24 Index... ... 70 ... 24 Control Message Checksum ... ... 25 UDP Message Layer... ... 25 Control Message Response ... Scheduler ... ... 27 ... 27 File Format / Tutorial ... ... 27 Events... Welcome! v


7 Welcome! gital Audio Machine Thank you for purchasing The Alcorn McBride AM-4 Di ™. The AM-4 Digital Audio Machine replaces tape machines, CDs and solid state audio quality, players in permanent audio playback installations, providing hours of high- maintenance-free digital audio. A Compact Flash card is included with your The AM-4 Digital Audio Machine plays MP3 audio file s from rugged Compact Flash AM-4. media cards. Any size up to 2 Gbytes can be used, providing hours of MP3 audio. The AM-4 Digital Audio Machine can be serially cont rolled using standard, ASCII- al Ethernet connection. Parallel based Pioneer Laser Disc protocol, or via an option control is also possible through the use of contact -closures or voltage inputs. Please browse the table of contents or index before jumping in, as we have included valuable sections like one on getting started right out of the box playing audio. Also, of MP3 material and where to get we have included a section that discusses creating encoders. We would like to provide you with the latest Firmwa re updates for your AM-4 and notify you when additional features become availabl e. Please visit to s ign up for automatic notifications of Firmware upgrades. You can also visit ck for upgrades. to che Have fun with your new AM-4 Digital Audio Machine! 1 Welcome!

8 Features of features including: The AM-4 Digital Audio Machine offers a wide range Plays MP3 and WAV files. • • Plays from Compact Flash Storage. • Near instantaneous access to files. • Stores over 500 Tracks. Sophisticated Play List and Real-Time Clock schedul • ing capabilities. • Serial RS-232C, Parallel, or optional UDP control o ver Ethernet. • Optional Speaker Level outputs (20Wx2). • Optional Balanced outputs. • Optional S/PDIF Digital Audio output. • GPS positional triggering capability. Technical Support You can obtain information about specifying, instal ling, configuring, updating and programming your Alcorn McBride AM-4 Digital Audio Machine from several sources: When?... Contact... For... Telephone Support (407) 296-5800 M-F 9am–6pm (EST) Fax Support (407) 296-5801 M-F 9am-6pm (EST) e-mail Support [email protected] Any Time Firmware Updates Any Time Welcome! 2

9 Quick Start Guide Throughout this manual you will find detailed discu ssions on all the features of the product. But below are a few points to get you going with the AM-4 Digital Audio Machine right out of the box! Playing the Demo Material Your AM-4 Digital Audio Machine comes complete with a Compact Flash Card is an MP3 audio file. You can already loaded with demo material. File number one play it by doing the following: Don’t plug anything in yet. • • Grab a screwdriver and remove the two screws holdin g the Compact Flash Drive cover plate, to reveal the unit’s Compact Fla sh Socket. Media Cover Plate • Remove your Compact Flash Card from its protective packaging, and place until the ejector button it in the unit’s Compact Flash socket. Push it in unit, never ship these comes out. As a side note, to avoid damage to the units with the Compact Flash card inside the unit. • aying line level in Connect the RCA jacks to an amplifier capable of pl er amplifier option, signals, or if your AM-4 is equipped with the speak connect (non-powered) speakers (20W min power handl ing) to the screw terminals on the back of the unit. • Make sure the volume control on the rear of the uni t is turned at a reasonable level. (The groove in the knob should be almost vertical, rotated slightly to the left.) • here is a status LED next Plug in the unit with the included power supply. T to the Compact Flash socket that should blink brief ly while it accesses the Compact Flash card. • Press the round black test button located on the fr ont of the unit beside the LED. • Verify you see the status LED turn Green. You shou ld be hearing audio! If not, turn up the volume a little. There is a diagr am on the next page, and a Troubleshooting guide in the back of this manual fo r your assistance. Quick Start Guide 3

10 4 Quick Start Guide

11 Controls and Indicators The AM-4 Digital Audio Machine provides controls th at can accommodate a wide variety of installations. The cator, Compact Flash Card slot. The rear panel prov front panel incorporates a test button, status indi ides the line-level audio outputs and control connectors. D epending on which option cards are installed, the r ear panel ck. can also contain speaker-level outputs or balanced and S/PDIF digital audio outputs, or an Ethernet ja Compact Flash Test Button Status LED Socket Ethernet Jack Parallel Control (option) Connector Balanced Audio Module Option Power Input Digital Audio Balanced Audio Volume L/R Line-Level RS232 Outputs Output Audio Outputs Connector Configuration DIP Switch Amplifier Module Option Speaker Outputs Controls and Indicators 5

12 Test Button Be sure that the Write he unit. This button is used to A recessed push-button is located on the front of t Protect DIP switch is on the media. It could be a first file found “test” play the unit and will play the OFF before trying to either a sound file or a playlist. format the Compact Flash. Flash card. If you hold in the test The test button is also used to format the Compact button while inserting the card a format operation will take place. While formatting, Use your PC to format the Status LED will turn green. The operation take s only a couple of seconds. Compact Flash cards larger than 2G in size.' Important: Formatting will result in the loss of a ll data on the Compact Flash card. Status LED A dual-color LED located on the front of the unit i ndicates status. LED Behavior LED Meaning Steady green Playing Steady orange Paused or Waiting Steady red Muted Flashing red Fault Flashing green Drive Access or GPS input active Flashing green/red Updating OS Off Idle and while accessing the compact The LED blinks green briefly during initialization flash media. Controls and Indicators 6

13 Configuration DIP Switch Voltage / Contact Closure Select Switch A 4 key DIP switch (red with white keys) is located on the rear of the unit below the DB-37 Control Connector. Its first key selects bet ween voltage inputs or contact closures for the discrete controls. More informatio n on these inputs may be found in tact closure mode, push the DIP the section entitled Rear Panel Connectors. For con switch #1 to “ON”. Ground Lift Be sure to configure the ground loops, the second key on the 4 In the event of AC hum or noise caused by potential AM-4 Digital Audio igital Audio Machine’s ground from its key DIP switch, may be opened to isolate the AM-4 D Machine’s switches 2 to OFF. chassis. For ground lifting, push the DIP switch # before rack mounting the units, or the switches may be inaccessible. Write Protect ard by turning on the third key on the 4 You can protect the contents of the Compact Flash c rations including file copying, file key DIP switch. With this switch ON, all write ope deleting, renaming, and formatting are disabled. F or normal write operations, turn this switch OFF. DISABLE ENABLE 7 Controls and Indicators

14 Serial Port Mode Refer to the GPS section For normal serial port control, turn off the fourth key on the 4 key DIP switch. To in this manual for enable GPS mouse operation, turn this switch ON. details. Controls and Indicators 8

15 Volume Control and Audio Outputs To increase volume ing from the rear of the unit next The volume control is the gray colored post protrud rotate the post ine level outputs, as well as for to the RCA jacks. It controls volume for the RCA l clockwise. the optional speaker or balanced outputs. It does not control the volume on the optional S/PDIF digital audio output. The RCA outputs provide a standard volume control to about 90 If using power speakers, you may need to adjust the -10dbu unbalanced st the volume on the powered degrees from Off for an optimum. You can then adju signal. speakers. Please refer to the ommands. When using the serial You can also control the volume via serial or UDP c Advanced Serial or UDP commands to control volume, you might want t o set the manual volume Control section of this control knob at maximum otherwise full output volum e will not be obtainable. manual for details. Balanced Outputs (optional) The balanced output a module which supplies The AM-4 Digital Audio Machine can be ordered with level is +4dBu. The dio output. The balanced outputs balanced line-level outputs and a S/PDIF digital au S/PDIF output is a are provided on combination ¼ inch XLR jacks, and t he S/PDIF output is on an RCA standard IEC-958 jack. signal. Amplifier Outputs (optional) Be sure to pay attention If equipped with the amplifier option, each amplifi er output is capable of up to to the speaker polarity 20Watts of power into 8 ohms. The line level outpu ts work along with the speaker while making level outputs. connections. IMPORTANT NOTE: Do not bridge the speaker outputs or damage will occur. _ _ + + 9 Controls and Indicators

16 Ethernet Interface (optional) an optional Ethernet Module The AM-4 Digital Audio Machine can be ordered with which adds control and file transfer capabilities t o the AM-4 over a standard Ethernet connection. The Ethernet interface is provided on a standard RJ-45 jack. Two LED indicate Ethernet status as shown below. T he Green LED should be on whenever an active Ethernet connection is detected, and the Yellow LED flashes whenever Ethernet activity occurs. Activity (Yellow) Link (Green) Please refer to the sections in this manual explain ing FTP and UDP operation for more details on Ethernet functionality. Power with center pin (+) and the The power input is a 2.5x5.5x10mm barrel connector outer rim (-). The AM-4 Digital Audio Machine requi res 12.0 VDC to 25.0 VDC at 2 Amp. This is useful for mobile applications where a n automotive battery is used to power a Compact Flash Card or Compact Flash Card ha rd drive. DO NOT EXCEED THE SPECIFIED INPUT VOLTAGE RANGE. An external 100- 250 VAC 50/60Hz with the unit. input universal switching power supply is provided ts near the power input jack to A plastic strain relief can be threaded through slo d in a high-vibration environment. secure the barrel connector if the AM-4 is installe Serial Port: DB-9 Connector A serial cable is This input is a standard DB-9 male RS-232C connecto r, intended to be connected to pro vided with each AM- a PC using a straight-through ( ) 9-pin cable. The pinout appears not null-modem 4 Digital Audio below. Machine. Pin Function 2 TXD (data from AM-4 Digital Audio Machine) 3 RXD (data to AM-4 Digital Audio Machine) 5 GND Controls and Indicators 10

17 Parallel Port: DB-37 Connector Be sure to configure the This connector provides all of the signals needed t o interface to the AM-4 Digital AM-4 Digital Audio Audio Machine. Files numbered 1 through 15 of the A M-4 Digital Audio Machine Machine for contact el inputs located on the rear may be played, paused or stopped using eight parall closures or voltage res such as momentary buttons, connector. These inputs may be either contact closu inputs before or voltage inputs from a controller such as a PLC. The DIP switch located on the side connecting any wires. he two input types. More of the unit next to the connector selects between t tion entitled Parallel Control. information on these inputs may be found in the sec Note: The Fault output relay will be active ying status (closed when active). Two dry-contact relay outputs provide Fault and Pla (closed) immediately after power-up A current-limited (100mA max.) 5VDC output can be u sed to light external LED indicating that power indicators, and an extra power supply input exists so that the 37- pin connector can be was lost. The first valid used to supply power instead of the barrel jack. A ny of the ground connections may command causes the be used for the return. relay to open. The pinout of the Control Connector is shown below: Pin Function Pin Function 1 Mute 20 Ground 2 21 Ground Pause (see Note 1) 3 Stop 22 Ground 4 Loop (see Note 2) 23 Ground 5 File Select 1 24 Ground 25 6 Ground File Select 2 7 Ground 26 File Select 4 8 File Select 8 27 Ground Playing Output (contact 1) 28 Playing Output (con tact 2) 9 10 Fault Output (contact 1) 29 Fault Output (contac t 2) 11 Mute (voltage input) 30 5 VDC output, 100 mA max . 12 Pause (voltage input) 31 Ground Ground 13 Stop (voltage input) 32 14 Loop (voltage input) Ground 33 15 34 Ground File Select 1 (voltage input) 16 File Select 2 (voltage input) 35 Ground 17 File Select 4 (voltage input) 36 Ground 18 37 File Select 8 (voltage input) Ground 19 Extra Power Supply Input Note 1 : If the Pause input is activated on power-up the Play Next mode is activated (Please refer to Parallel Control chapter for detai ls). laylist & Volume : If the Loop input is activated on power-up the P Note 2 r to Parallel Control Chapter for Increment/Decrement mode is activated (Please refe details). 11 Controls and Indicators

18 Controlling the AM-4 Parallel Control Parallel Inputs Be sure to configure the ing either contact closures or The AM-4 Digital Audio Machine can be controlled us DIP switch before r. DIP switch number 1 selects voltage inputs on the female DB-37 Control Connecto connecting any wires. between the two input types. Voltage inputs are rat ed for 24 VDC. The table below describes the function of each input. Function Voltage Description Contact Closure Input Pins Pins 11(+),1(-) 1,20 Mute and Ramps the audio to zero volume maintains it there as long as Mute is asserted. When Mute is released, audio returns to full volume. Pause 12(+),2(-) 2,21 Pauses the file currently pla ying. Pause is maintained as long as it is asserted. Play will resume when the file is commanded to play again. Stop 13(+),3(-) 3,22 Stops the file currently playi ng. If the file is a Play List, it is aborted. Loop 14(+),4(-) 4,23 Causes the selected file to lo op indefinitely from beginning to end. If the file is a Play List, all tracks will be played and then the file will loop. The state of this input is examined at the of each file. start File Select 1 15(+),5(-) 5,24 Binary-encoded input plays files 1-15. File Select 2 6,25 Binary-encoded input plays files 1-15. 16(+),6(-) File Select 4 17(+),7(-) 7,26 Binary-encoded input plays files 1-15. File Select 8 18(+),8(-) 8,27 Binary-encoded input plays files 1-15. first 15 files. These inputs may be The binary file select inputs are used to play the contact closures or voltages, depending upon the in put select DIP switch described in the Configuration DIP switch section of this manual . The inputs are change-sensitive; that is, when a change is detected, the new file wi ll be played. It is therefore important that the four bits change at the same tim e. If the same file number is selected repeatedly it w ill normally interrupt itself and begin again. When processing a Play List, if the Pl ay List is selected repeatedly it advances from entry to entry within the list – unle ss the “Uninterruptible” flag has ation). been set (see the Play List section for more inform Controlling the AM-4 12

19 The table below shows the binary combinations possi ble, and what file they select: 8 1 File 4 2 Off Off None Off Off Off Off Off 1 On Off On Off 2 Off Off On On 3 Off Off On Off Off 4 Off Off On 5 On Off On On Off 6 Off On On On 7 On Off Off Off 8 On Off Off On 9 10 On Off On Off On Off On 11 On On Off 12 On Off On On Off On 13 On On On 14 Off On On On 15 On For example, connecting pins 8 and 27 together with the slide switch set in the contact closure position will cause file 8 to play. The loop input is read The file will be looped if the loop command is asse rted when the file is played. If the at the start of the file. then the Play List will loop. file is a Play List, all tracks will be played and matically play a file on power-up. The file select inputs may also be strapped to auto files that may be on the drive That file number takes precedence over any autoexec s and the loop input is strapped, it (see power up operation). If an autoexec file exist will play indefinitely. The simplest possible configuration is to connect f our switches to the unit’s four file select lines. These switches will play files 1, 2, 4 and 8. (The missing file numbers need not exist.) Sixteen switches may be connected without an external controller, by using a diode matrix. One side of each switch is co nnected to a wire that goes to signal ground. The other sides of the switches are connected through signal diodes, such as a 1N914 or 1N4148, to the file select input s. Special Modes Play Next Mode If the Pause input is activated on power-up, Play c ommands (and File Selects) will operate as Play Next, thereby not interrupting the currently playing sound and instead cue up the next sound to play when the current soun d has finished. Controlling the AM-4 13

20 Playlist Increment/Decrement & Volume Control Mode If the Loop input is activated on power-up, the Fil e Select inputs operate as Playlist and Volume Increment/Decrement as shown here: File Select 1 = Increment Playlist Number File Select 2 = Decrement Playlist Number File Select 4 = Increase Volume File Select 8 = Decrease Volume This allows the use of just two toggle switches for playlist selection and volume control. Controlling the AM-4 14

21 Using a terminal block For example, the following circuit allows switches to select files 1 to 15: to hold the diodes makes the wiring neater. DB37 Contact Closure Diode Network Diagram for 15 C lips Clip 1 2 1 SYMBOLS: Clip 2 1 2 1 2 1 2 SWITCH Clip 3 2 2 1 1 1 2 Clip 4 2 1 I/O connector 1N4148 1 2 1 Clip 5 2 1 2 1 20 2 2 1 21 3 Clip 6 1 2 2 1 22 4 1 2 23 1 2 5 24 Clip 7 1 2 1 2 6 25 7 26 8 Note: Ground 27 9 28 The 37pin connector Clip 8 1 2 10 29 on the diagram is 11 30 inverted from what you Clip 9 1 2 1 2 12 see when looking at 31 1 2 13 the back of our 32 14 Clip 10 1 2 1 2 This is so that product. 33 15 2 1 you can see what it will look 34 16 like when making a cable 35 assembly. Remember to Clip 11 1 17 2 2 1 36 have the I/O setting to 1 2 18 Contact Closure. 37 1 2 19 Clip 12 1 2 1 2 You may use this as a guide 1 2 for building a diode network, but it is only a reference. We are not responsible for Clip 13 2 1 1 2 1 2 any obvious errors in the 1 2 diagram. Use logic to verify your setup is correct. If you Clip 14 2 2 1 1 find errors with this diagram, 2 1 1 2 please notify Alcorn McBride. You can help us help other Clip 15 1 1 2 2 customers with the same 2 1 question. 1 2 1 2 If you don’t want to wire this circuit yourself, we have a cheap, discrete control breakout-board that lets you directly select all 15 files and the control contacts like ldering iron. Look for the Play, Stop, etc... without touching a diode or your so for details. Input Expander at Controlling the AM-4 15

22 Voltage inputs, such as from a PLC, could be wired this way: I/O CONNECTOR 1 20 2 21 3 22 4 23 5 Contacts Voltage 24 6 25 7 26 8 27 Switch set 9 to voltage 28 10 29 11 30 12 31 13 32 PLC 14 33 15 24 Volt Output 1 34 16 24 Volt Output 2 35 17 24 Volt Output 4 36 18 24 Volt Output 8 37 19 Ground Reference CONNECTOR DB37 Diodes are not needed, since the PLC can actuate an y combination of lines desired. Parallel Outputs ct closures rated at 24 VDC and Two status outputs are provided. They are dry conta 0.9 amp max. Their function is described below. Function Description Pins Playing 9,28 Closed when the unit is playing. Fault 10,29 Closed when the unit detects a fault condition. You can also control these outputs with serial “Rel ay” commands. One practical application of this is to embed the “Relay” command s in a playlist along with “Play Sound” commands. This way you can close or open a relay when a sound plays or stops. Please refer to the Miscellaneous Commands under Ad vanced Serial Protocol for details on how the “Relay” command works, and to th e Playlist Section for an “Relay” command. example playlist which demonstrates the use of the Controlling the AM-4 16

23 Simple Serial Control For serial communications ing serial RS-232C The AM-4 Digital Audio Machine may be controlled us with a PC or an Alcorn r with UDP (User Datagram messages via the rear DB-9 Programming Connector, o McBride Show Controller, use ace. The serial data format is Protocol) messages via the optional Ethernet interf the supplied straight-thru (not one stop bit. 9600,N,8,1: 9600 baud, 8 bits/byte, no parity, with Null) serial cable supplied with the AM-4. For UDP operation you must first set the IP address , Subnet Mask, and Gateway address (if applicable) by issuing the correspondin g serial commands. Please refer UDP communications take to the Advanced Serial Protocol section in this man ual for specific details on what place on Port 2639. commands are used to set up the Ethernet interface. AMI Terminal is a Windows application that can be u sed to control the AM-4 (as well as other Alcorn McBride equipment). It is ava ilable on the Alcorn McBride Website at . .zip nds are identical to Pioneer The control protocol is ASCII-based, and many comma Laser Disc protocol. Upper or lower case characters can be used interchangeably. The most commonly used serial commands for playback are: Command Function Select File Select a file Play Play the selected file Play the selected file over and over Loop Play Play File Same as Play, except file is specified in command Loop File Same as Loop Play, except file is specified in command Pause Pause at current location. The Play Command resumes playback. Stop Stops playback. The details of these commands are listed in this se ction. Many other commands are also possible, and are summarized in the section en titled Advanced Serial Protocol. te on any type of file, whether Unless otherwise noted, all of these commands opera R> means carriage return, a byte audio track or Play List. Throughout this manual

24 Select File This command causes the AM-4 Digital Description: Audio Machine to select the specified audio track or Play List on the currently selected media. Once this command is sent, the next Play command causes the specified file to play from the beginning. The unit file exists. When receiving this defaults to file #1 at power-up, unless an autoexec s for the file on the currently command, the AM-4 Digital Audio Machine always look selected drive. Command Bytes: nSE or nnSE or nnnSE where n, nn, or nnn is the file number in ASCII. Message Response: R Comments: s” command in chapter addressing mode used This is similar to the “Search to Addres in Pioneer Laser Disc protocol. The maximum file nu mber is 511. Examples: Select file 215. 215SE Select file 4. 4SE Play Description: This command causes the AM-4 Digital Audio Machine to play the file which was specified with the “Select File” command. If a trac k is paused, this command resumes play. If this command is issued while a Play List i s being played, the AM-4 Digital Audio Machine will skip to the next track in the Pl ay List and play it. This command sends a response when it is executed, and another w hen the playback is complete. PL Command bytes: R Message Response: Completion Response: Loop Play Description: Audio Machine to play the file specified by This command causes the AM-4 Digital the Select File command and loop back to the beginn ing. If the file is a Play List, all of the tracks in the Play List will be played and t hen the entire Play List will restart. Command bytes: LP Message Response: R Play File Description: This command is the same as the Play command, except the file number or name is specified as part of the command so no prior Select File command is required. Command bytes: nPL Where n is the file number or name (surrounded in quotes). Example: 3PL plays file number 3. Example: “bark.mp3”PL plays the file named “ba rk.mp3” Message Response: R Completion Response: Controlling the AM-4 18

25 Loop File Description: This command is the same as the Play File command, except the sound is looped back to the beginning at the end. Command bytes: nLP Where n is the file number or name (surrounded in quotes). Example: 3LP loops file number 3. Example: “rain.mp3”PL loops the file named “ra in.mp3” Message Response: R Pause This command causes the AM-4 Digital Description: Audio Machine to pause. The file will resume from where it left off whenever another Play command is issued. The LED will glow orange when in Pause mode. Command bytes: PA Message Response: R Comments: If a Select File command is issued while in Pause mode, playback will start from the beginning of the selected file whenever another Pla y command is issued. Reset Description: This command causes the AM-4 Digital Audio Machine to stop playing, just as if the parallel Stop input had been activated. Command bytes: RJ Message Response: R 19 Controlling the AM-4

26 Advanced Serial Protocol Many of these commands The table below shows the complete AM-4 Digital Aud io Machine serial and error codes are listed protocol, including the Pioneer LDP compatible comm ands and our extensions. in the AM4’s onboard can accomplish extremely Using these commands, an external controller or PC menu. Type /? And press complex tasks. Throughout the following table means carriage return, a Enter to see it. byte with the hexadecimal value of 0D. Precede commands with Note: All commands can be preceded with a unique Un it ID byte follo wed @ when the serial by an ‘@’ symbol. This byte is a unique address sp ecified in the Set Unit ID control is shared among command, and can be used to communicate to a specif ic unit connected to a many units. common RS232C serial bus. For sake of completeness, all serial commands are l isted here. Please refer to Scheduler operations for how the sections in this manual detailing Ethernet and serial commands related these functions are used. Playback Control Commands Description Comments Command Bytes Response nPL Automatically stops Play File R upon receipt where n = file name or number upon completion at end of track nLP Loop File R upon receipt Automatically loops upon loop point where n = file name or number at end of track nSE Select File R Only file number or name nnSE addressing is supported (not frames or time) nnnSE Play PL R upon receipt File needs to be Selected first upon completion using the SE command Loop LP File needs to be Selected first R using the SE command Play Next (see note 3) R upon receipt nPN Cues the file up to play when currently playing file finishes where n = file name or number upon completion nLN R upon receipt Cues the file up to loop when Loop Next (see note 3) upon loop point where n = file name or number currently playing file finishes Shuffle Play SH R upon receipt Shuffle plays all files on each completion media Pause PA R Issue Play to resume Announce (see note 3) nAN Interrupts a file and plays R upon receipt upon completion announcement. Original file where n = announcement file resumes from where it left off name or number after announcement. Set BGM Mode R n = 0 Disable BGM Playli st nBG n = 1 Enable BGM Playlist Volume Control nAD R n = 0 Mute n = * Unm ute n = 1-10 Relative Volume Level with 10 being loudest. Volume Fade-In time nnFD R Each play will fade up to the where nn = fade time in currently-programmed seconds (0 to 10 seconds) volume setting over the specified time P04 = playing Current Status ?P P03 = file searched P01 = idle Controlling the AM-4 20

27 Media Commands Command Bytes Comments Response Description Drive Directory Request ?D ASCII table FO R upon receipt Write protect DIP switch Format Drive R upon completion must be in the OFF position ?R nnnnnnn number of Total Storage Request bytes (hex) Scheduler & GPS Commands Description Command Bytes Response Comments Set Time Zone nTZ R n= number of hours behi nd UTC (ex. Orlando is 5TZ) Set Longitude R n= longitude nLO ex. 26LG, n26LG, -15LG, s15LG Set Latitude nLA R n= latitude ex. 26LA, w26LA, -15LA, e15LA Set Longitude/Latitude ddmm.mmmm R dd = degrees longitude or Tolerance latitude. used for GPS triggering. mm.mmmm = minutes and decimal minutes mDA m=mm/dd/yyyy R Set Date (ex.12/12/2003DA) use slashes, dashes or periods. 2- digit years are accepted also. Set Time mTI R m=hh:mm:ssTI (ex. 01:02:56TI) - military time nSD n= 1 use DST Set Daylight Saving Time R Support On/Off n= 0 don’t use DST Set Daylight Saving Time nnnDT R nnn = USA, UTC, or AUS for Type now. Other DST's can be added on request. n= number of seconds before Set Scheduler Bootup R nBD Delay scheduler starts after reboot Get Time Zone Timezone TZ LO Longitude Get Longitude Get Latitude LA Latitude TI Get Time Time Get Date DA Date Get DST support SD n n= 1 using DST n= 0 not using DST DST Type USA, UTC, or ASU Get DST Type DT currently. Other DST's can be added on request. Controlling the AM-4 21

28 Ethernet Commands Command Bytes Response Description Comments R Set IP Address R Set Subnet Mask R Set Gateway Get IP Address IP String IP GW Get Gateway Address DefaultGateway Get Subnet Mask SM Subnet Mask Set FTP User Name nUS R n = ASCII user name (up to 32 characters) Get FTP User Name ASCII string US pPW R Set FTP Password (up to p = ASCII user name 32 characters) Get FTP Password PW ASCII string Enable NTP 1NE R Set NTP Server Address R Get NTP Server Address NI IP String Miscellaneous Commands Description Command Bytes Response Comments Set Baud Rate n = 0 -> 300 baud nBR R n = 1 -> 600 baud n = 2 -> 1200 baud n = 3 -> 2400 baud n = 4 -> 4800 baud n = 5 -> 9600 baud n = 6 -> 19200 baud n = 7 -> 38400 baud n = 8 -> 57600 baud n = 9 -> 115200 baud SendString R Sends string out se rial port. “string”SS (See note 1 below) Set Real Time Clock nTC R n = +ss or -ss where 0 n n = +/-ss (see abo ve) Set Device ID nID R n = number 0 to 255 Get Device ID ID ID = number 0 to 255 ID ?V ASCII string Firmware Version Request Menu of Commands /? ASCII table Manual Output Relay n = 1P (turns on Play relay) nRL R Control n = 0P (turns off Play relay) n = 1F (turns on Fault relay) n = 0F (turns off Fault relay) n = X return relays to normal function (See note 2 below) Playlist Bank Select nBS Adds 10,000 to the selected R where n = 0 to 9 Playlist file number. This allows you to select a Playlist Bank so that, for example, different playlists can be played at different times of the day when this command is Controlling the AM-4 22

29 used in a schedule. XX Same as power-on reset . Soft reboot the MP3 AM -- Notes: are surrounded by quotes, HEX bytes begin with H. 1) When using the SendString command, ASCII Strings an ASCII String”SS in a play list text file. Example h22This is an ASCII Stringh22SS or “This is 2) Once a Manual Output Relay command is received, the Play and Fault outputs will no longer operate a s their default “Play” and “Fault” functions. To ret urn them to their default operation, send an ‘X’ as the command argument. 3) These commands available when playing MP3 files only. Acknowledge Codes The AM-4 Digital Audio Machine responds to the Play command with R when received, and an additiona l when the track ends. This maintains Pioneer co mmand compatibility while providing completion information. Serial Error Codes Any R response will be replaced by a message of the form Enn if an error occurs. The error co des are listed in the following table. Error Code What to Do: Description E00 Communication Error ns Check your serial connectio Feature Not Available Yet Have you entered the E04 correct command? Check for avail. E11 Media Not Present Is the Compact Flash inserted ? Formatted? A recommended brand? Search Error E12 file on the card? Is it named correctly? Selecting the correct file? Is the Ethernet Control Note: This section only applies only if your AM-4 i s equipped with the optional Ethernet Module. All the commands that are supported in the are also Serial Protocol supported via UDP control over Ethernet. By sending UDP (User Datagram Protocol) packets across a network, you ca n communicate with and control many AM4’s simultaneously (using U nit ID’s) and/or independently. Hardware and Software Requirements Any Ethernet capable show controller or PC with a n etwork interface card can send messages to AM4’s located on the same network. To use Ethernet control, your control source must have a way to broadcast UDP pac kets containing arbitrary message bytes to a specific UDP port number (XXXX). Each AM4 must be connected to the physical network via the RJ-45 Eth ernet connector on the rear of the unit. All AM4’s must have different IP Addresses t o reside on the same Ethernet Controlling the AM-4 23

30 network. See the Web Page Setup section for information on setting IP Address and Unit ID. AMINet Protocol INet Ethernet protocol. The user data sent in the UDP packet follows our AM AMINet was originally developed for use with our Et hernet Machine, which provides rn McBride Show an Ethernet backbone for communication between Alco Controllers. Now the same, easy to use protocol ca n be used to control the AM4. AMINet is a very flexible and robust Ethernet proto col that allows for many different uses; however, only one of AMINet’s command op-code s is necessary to transmit commands to the AM4 making the usage very simple. Control Message Format The control source will send a UDP packet that cont ains a AM4 Control Message as the User Data in the packet. A AM4 Control Message is comprised of a few bytes needed specifically for AMINet and some Command byt es. The Command simply needs to contain an Addressed Pioneer / AMI serial protocol command. For example, A AM4 Control Message containing the Comma nd bytes [email protected]?V would cause the AM4 on the network with Unit ID 7 t o send back a UDP packet containing its version information. Please see the Pioneer / AMI Serial Protocol section for detailed information about the rest of the command set. The basic format of a AM4 Control Message is as fol lows: 0xF1 0x01 0x04 0xF2 The only bytes that change from message to message are the Command bytes and the Checksum. The command corresponds exactly to an Ad dressed Pioneer / AMI serial command. Control Message Checksum lue of all of the bytes in the The Checksum is the summation of the hexadecimal va Control Message except the first byte (0xF1), the l ast byte (0xF2) and of course the ily increase to a value that Checksum itself. The value of the checksum may eas calls for what we call number cannot be represented by one byte. This situation expansion. If the value of the Checksum is between 0x00 and 0x F9 (0-249), the value is represented in only 8 bits (1 byte). If the value is between 0xFA and 0xFFFF (250- 65535), the value is represented in 16 bits (2 byte s) and is preceded by 0xFF to signify the number has been expanded to 16 bits. I f the value is between 0x10000 and 0xFFFFFF (65536-16777215), the value is represe nted in 24 bits (3 bytes) and is preceded by 0xFE to signify the number has been exp anded to 24 bits. The following example shows a Control Message with an expanded Ch ecksum. 0xF1 0x01 0x04 5 5 @ R J 0xFF 0x01 0x58 0xF2 The value of the checksum is calculated by adding t he hexadecimal values of each byte preceding it except the first byte (0xF1) as f ollows: 0x01 + 0x04 + 0x35 + 0x35 + 0x40 + 0x52 + 0x4A + 0x 0D = 0x158. it is greater 0xF9, the two-byte The Checksum in this example is 0x158, but because Checksum is preceded by 0xFF. Controlling the AM-4 24

31 UDP Message Layer The control source sends UDP Packets to the AM4. A UDP Packet contains information about the packet source (IP Address, Po rt number) as well as definable ontrol Message including all user data. The user data contains the entire AM4 C AMINet specific bytes. These packets should be sen t to the broadcast IP Address (0xFFFFFF) or the specific AM4 address with UDP por t number 2639. Control Message Response The unit will normally send back a response to each Control Message it receives. e in the Pioneer / AMI control The user data in these responses exactly match thos command descriptions. For example, you’ll receive an “R” contained when you send a “PL” contained in the AMINet wrapper. The respon ses are sent to the IP Address and UDP Port number found in the UDP packet that co ntained the original Control Message. As with the Addressable serial protocol, any Control Message sent to the e. This practice avoids any wildcard unit ID (127) will not receive any respons potential confusion at the source of the Control Me ssage due to many responses to the same message. A Software Developer’s Kit with C Source Code imple menting this protocol is available on our website at . Controlling the AM-4 25

32 26 Controlling the AM-4

33 Scheduler Note: You can nute scheduler The AM-4 Digital Audio Machine has a down-to-the-mi download the me of day and date of based upon its internal real time clock. At any ti Schedule year, the AM-4 Digital Audio Machine can start or s top playback of Builder program any file or play list, or do whatever it is suppose d to at 3pm on January from 15th 2009, for example. This functionality is buil t into a feature called Scheduler the . which makes building schedules easy. File Format / Tutorial The Scheduler uses a text file loaded onto the comp act flash of the AM-4 Digital Audio Machine. The text file can be edited in a te xt editor, like notepad. The schedule filename is schedule.scl. Events schedule a command usually used contains a list of events. Each event consists of A to start or stop playback of a particular file or p laylist at a particular time. It essentially executes the same serial commands used for external control of the AM-4, except that it does so on a scheduled basis. In fa ct, any serial command listed in the Advanced Serial Protocol section of this manual may be used as an event in the Scheduler. Each command event has a variety of parameters that can be applied to it in order to customize the AM-4’s behavior. In order to underst and how you specify command le and build it to a more feature- events in the AM-4, let’s start with a simple examp rich example. Scheduler 27

34 Command Event T:13:46 D:01/1/2010 E:Command 1:"1PL" Example 1: Each event exists on one line and is made up of sev eral fields. Example 1 shows the minimum number of fields you need to define an even t, which are an Event, a Start Time, possibly a required data field, and a Start D ate. Each field begins with a delimiter as shown in the following table: Delimiter Field Starting time (hh:mm) (military time – leading zero s for hours required) T: Starting date (mm/dd/yy or mm/dd/yyyy . You can use periods, slashes, D: or dashes to separate dates) Ending time (hh:mm) (military time) I: Ending date (mm/dd/yy or mm/dd/yyyy . You can use p eriods, slashes, A: or dashes to separate dates) Event E: Parameter 1 for the event 1: Parameter 2 for the event 2: Parameter 3 for the event 3: Parameter 4 for the event 4: has expired Repeat Number: repeat after this number of periods R: Repeat Period: Time to wait between executions, use d with Repeat P: Number and Set when necessary Repeat Set: special case usage described below S: Although not a field, this marks a comment ; Now that we have seen a table of the event fields, let’s look at Example 1. Here are its fields: Start Time: 1:46pm in the afternoon ( 13:46 military) st January 1 2010 . Start Date: Note: The carriage cheduler event, which is a generalized event allowing the s Command Event: to send a return is automatically on. custom string to the AM-4’s serial processing secti inserted by the Field 1, the command string, specified as “1PL”, co mmands the AM4 to play file scheduler, so do not number 1. include it. Notice that the string, ”1PL”, matches the command that would be used to play the file if the unit were being controlled by an external se rial controller. Scheduler 28

35 Example 2: T:14:46 D:01/1/2010 E:Command 1:"RJ" Two things have changed in this example. Start Time: 2:46pm in the afternoon ( 14:46 military) st January 1 2010 . (same as Example 1) Start Date: Command event (same as Example 1) Event: e AM4 to stop playback. Field 1, the string, defined as “RJ”, will cause th So using the two examples together in a schedule fi le will cause file number one to st , 2010 and stop playback at 2:46PM the begin playback at 1:46PM on January 1 same day. The Command event actually has more fields associated it with it, that are not required. So let’s look at it with those fields fi lled in: Example3: (New fields are in bold. kept on one line for clari ty.) T:14:46 D:01/1/2010 R:30 P:minute A:1.3.00 I:3:00 E:Command1:"1PL” ;Repeats a while We’ve now added: Repeat Number: 30 Repeat Period: minute 3:00 Ending Time: 3am in the morning ( military) rd Ending Date: January 3 2010 ” at the end of the line, by Comment: We also stuck a comment “ Repeats a while prefixing it with a semicolon (;). Anything found after a semicolon is ignored by You can place a comment on its own line, if you lik e. the scheduler. t Period. They should be The Repeat Number acts as a multiplier of the Repea “Repeat this event every 30 read in conjunction like this: minutes ”. The only field not discussed yet is a set . Example 4: T:1:00 D:11-28-02 R:4 P:Thursday S:November E:Command1:"1PL” A set defines a certain range of valid repeat periods. In Example 4, only the Thursdays in November are eligible for this event. When a set is used in an event, the Repeat Number takes on a different meaning. In stead of being a multiplier of the Repeat Period, it and the Repeat Period become an index of the set. These three th fields should be read in conjunction like this: “Repeat this event every 4 Thursday in November.” 29 Scheduler

36 Fields in Detail There is a summary table in the section that lists all the fields File Format/Tutorial for your reference. Since the Command Event, and event Parameter fields have been discussed, we’ll discuss the rest of the fields her e. T: Start Time The Start Time is the hour and minute your event be comes active. For most cases being active simple means gets executed. You speci fy it in military time 00:00 is midnight, 23:59, 11:59pm, is last minute of the day something can be scheduled. You can specify the word as the field’s value. This used to make an event g et BOOT executed upon every reboot after the start time and start day have been reached. Example: T:13:30 T:Boot D: Start Date The Start Date is the month, day, and year your eve nt becomes active. For most cases being active simple means gets executed. You specify it in a variety of ways. You can use periods, slashes, or dashes to separate the fields of the dates. Dates Leap years are handled. from the year 2000 to the year 2099 are supported. Examples: D :1.1.00 D :1/1/00 D:1-1-00 D:01.01.2001 D:01/01/2001 D:01-1-2001 I: End Time The End Time is the hour and minute your event stop s being active. See the T: Start Time section for syntax. Examples: I:1:30 A: End Date The End Date is the month, day, and year your event stops being active. See the D: Start Date section for syntax. Examples: D :1.1.00 :1/1/00 D D:1-1-00 Scheduler 30

37 D:01.01.2001 D:01/01/2001 D:01-1-2001 R: Repeat Number The Repeat Number acts in one of two ways: • With no Repeat Set field present. • With a Repeat Set field present: 1. With no Repeat Set field present: This is the most common usage of the Repeat Number. It acts as a multiplier of the Repeat Period. They should be read in conjunction l ike this: “Repeat this event every ”. Ex.“Repeat this event every 30 minutes ”. The repeat number can be anywhere from 1 to over 4b illion. You can specify repeating a number of minutes, which is why this is so huge. Realistically though, you would specify repeating in years, if it got tha t large. Whatever combination you choose between Repeat Number and Repeat Period shou ld not multiply our to be greater than a century. Example: R:1 ;do it every period R:117 ;do it every 117 periods The Repeat Number and the Repeat Period 2. With a Repeat Set field present: become an index conjunction like of the set. These three fields should be read in riod> in .” “Repeat this event every

38 Sunday, Monday, Tuesday, Wednesday, Thursday, Frida y, Saturday Minute Hour Day Year Boot Notes: Month is not a valid period. If you want to make a monthly schedule, use a combination of repeat number, period and set to do so. See the example in the Repeat Number section for details. Examples: R:sunday R:year I: Repeat Set Using the Repeat Set field changes the way Repeat N umber and Repeat Period operate. Together they act as an index into the Re peat Set. Please read the Repeat the different behaviors they take Number section above, for a detailed explanation of on when the Repeat Set field is present. you can specify the Repeat Set as For example, in order to create a monthly schedule, month . Sets can be one of the following: Month January, February, March, April, May, June, July, A ugust, September, October, November, and December Examples: th R:5 P:day S:month ;repeat 5 day of every month nd R:2 P:monday S:month ;repeat 2 Monday of every month th Thursday in November R:4 P:Thursday S:November ;repeat 4 Scheduler 32

39 Restrictions Since the Scheduler is very flexible, it is easier to explain what you cannot do, than to explain what you can. Number can only be one. 1. When using BOOT as the Repeat Period, the Repeat hit has rebooted. You can The unit does not keep track of the number of times put in other numbers, but it will ignore them. 2. Whatever combination you choose between Repeat N umber and Repeat Period should not multiply out to be greater than a centur y. For example, don’t repeat an event every 102 years. and you haven’t already 3. One event executes per minute. If you want more purchased a small show controller, like the InterAc tivator, then get one of these. It can increase the amount of events you can genera te from 1per minute to 30 per second * 60 seconds per minute = 1800 events per mi nute! Comments & Whitespace Comments are prefixed with a semicolon (;). Anything found after a semicolon is ignored by the scheduler. e. You can place a comment on its own line, if you lik You can use spaces or tabs to organize your schedul e. They both are ignored. Examples: ;This is a comment on its own line T:1:00 D:1-1-01 E: Command 1:"5PL" ;this is a comment too Order of Operations Here is a listing of times when The AM-4 checks the schedule and the operations afterwards. 1. AM-4 loads the schedule from schedule.scl (defau lt) at: a. Boot up b. After an FTP transfer (with optional Ethernet mo dule installed) c. After a new Compact Flash card is installed with a schedule.scl file. d. Every night at midnight. 2. The AM-4 gets today’s date (or already knows it) from built in RTC. day’s active events. 3. The AM-4 parses the schedule and loads all of to the Bootup event gets loaded. 4. If it is a bootup that caused the schedule load, 33 Scheduler

40 Double Occupancy time slot. Double Occupancy is when two events occupy the same , you may want to be sure you If you plan on having a fairly complicated schedule don’t have events competing with each other for exe cution when their time and ppens when to events end up on date come around. This discussion looks at what ha to determine which event wins. the same time and date. It explains the rules used Definitions The following are previously undefined terms used i n the Scheduler Rules discussion below • Timestamp - time portion of the event's starting point (T: a nd D: ) Datestamp - date portion of the event's start point (T: and D: ) • • Slot - the event's timestamp + datestamp. • Startslot - slot when the event begins (required) • Endslot - slot when the event ends (not required) • ow) Profile - an event’s startslot, endslot, type (defined bel • two events in the same slot. Double Occupancy - The following types of events exist in the AM-4: One-shots -One time events with no repeat • Loops - Repeating events • Finites - loops that have an end time and end date • • - loops with no end time or end date Infinites • Active Event - events with today's datestamp that have been or will be loaded into the queue • Executable Event - events with the current timeslot. • Start Time Bootups - events with start time listed as BOOT. - events with repeat period listed as • Repeat Period Bootups BOOT. Scheduler 34

41 Scheduler Rules Precedence: If two events occupy the same slot, this is the pr ecedence: 1. StartTime Bootups take ultimate precedence durin g the bootup minute, and are treated as normal events afterwards ( if they repea t). 2. Repeating Bootups take second precedence during the bootup minute. 3. One-shots take precedence over Loops. 4. Finites take precedence over infinites during th eir period of execution. 5. Finites started on a later slot will take preced ence over earlier finites. 6. Infinites started on a later slot will take prec edence over earlier infinites. 7. If two or more events with the same profile are scheduled for the same start slot, the first one found in the file will be execu ted. This should only occur as a mistake . Ex. Two one-shots, finite loops, or infinite loops are programmed with the same startslot. There are times that two events can legally When Double Occupancy is Legal: occupy the same slot. These are expected to occur as: • Overlaps - When two or more loops (finites or infinites) unintentionally line up. Ex. A 3hour infinite and a weekly infinite will eventually overlap, if programmed on same timestamp of the day , but not necessarily the same datestamp. • One-shot Overrides - one-shots that are intended to supercede a standard finite or infinite show. Ex. A special hol iday show at the regular show's slot. • - Finites that are intended to supercede another f inite Finite Overrides or infinite show. Ex. 1week finite that is placed i n the middle of a 6month finite to override the standard show for 1week, then go ba ck to normal. • Infinite Overrides (Replacements) - Infinite loops scheduled for the same datestamp at a later date. Ex. Daily infinite for three months, another daily robably should be programmed infinite for the rest of the year. Although this p ts. as finites, a customer may program it as replacemen Scheduler 35

42 Schedule Builder Alcorn McBride provides Schedule Builder, a friendl y GUI you can use to create your Schedules. Go to to download a copy today! You also should have read the previous section for a tutorial on how the engine works. Here’s how to operate the interface: Select File: New, and choose your product from the pop-up dialog box: The Add/Edit event Window appears: Scheduler 36

43 In the new event dialog box, set a start date and t ime by clicking the down arrows on those controls: If you have an end date and time, do the same for t hose fields. Choose the Event (the command) from the drop down m enu. Here we have selected We have also selected file number 5 in the next box Play. ; Scheduler 37

44 ency. Here, we have selected Every Day. Add a The next thing you can do is specify a Repeat frequ comment, if you like, telling us what this does: Press OK, and here is the resulting event: You can also select Edit:Edit Event to edit this en try with the dialog box or manually edit the events yourself . Scheduler 38

45 You can then save the schedule and test it with the built in tester. Select File:Test Schedule. Pre ss the date his dialog box, you can set simulation time, start Options button to set your simulation time. With t and time, what to do on errors, etc... Then press OK and press Run. 39 Scheduler

46 Uploading New Schedules to the AM-4 FTP to current version. (Delete You can FTP shedule.scl to the AM-4, replacing your immediately update e.) The AM-4 has the current the schedule.scl on the unit before FTP’ing this on your schedule. FTP schedule in memory. At midnight, or after a fresh r eboot, the new schedule.scl schedule.scl to update will get loaded into memory. If you want to cause an immediate update of your your schedule at schedule without rebooting, then name your schedule “” before midnight like normal. hedule to schedule.old, uploading it. The AM-4 will rename your current sc rename to schedule.scl, and load it in to memory. Important : The actual update of the schedule occurs after the ftp session has terminated (i.e. You type ‘quit’ at the ftp> prompt). Scheduler 40

47 File Types and Storage ed audio files and The AM-4 Digital Audio Machine plays both MP3 encod uncompressed WAV files. MP3 filenames have a “.MP3 ” extension and WAV files have a “.WAV” extension. Please refer to the Requi red File Name Formats section of this manual for details on file naming conventio ns. Supported WAV File Formats Note: GPS operation ferred to as “uncompressed” audio files, and contai n WAV files are commonly re does not support the the raw audio samples recorded from the original so urce. For example, an audio playback of WAV files. file “ripped” directly from a CD results in a 44.1K hz, 16-bit, stereo WAV file. Often this file is then encoded and compressed into an MP3 file to save storage AV version. space, but the AM-4 can playback the uncompressed W her stereo or mono, with The AM-4 can playback any 8 or 16-bit WAV file, eit the following sample rates: . Supported Sample Rates(Khz) 8 11.025 16 22.050 32 44.1 48 Note that a WAV file The lower the sample rate, the lower the resulting sound quality. Also, 8-bit can take up a WAV files will normally not sound as good as 16-bit WAV files. It is generally considerable amount of not a good practice to try and save storage space b y using lower sample rate or 8- storage space on your olution files to MP3. bit WAV files instead of encoding original high-res Compact Flash card compared with its MP3 If you have the storage space, and have the origina l, high-resolution encoded equivalent. it just as it is on the AM-4. uncompressed WAV file there is no reason not to use File Types and Storage 41

48 Making MP3 Files Encoding Making MP3 files involves using an encoder, and you can find them readily available Audio Catalyst, are from the web. A couple that we have seen work well which is (, and Music available from Xing Technology Corporation MusicMatch ( . Fraunhofer Match JukeBox available from a own patents on tools that make IIS Institute in partnership with Thomson Multimedi unhofer charges a royalty from MP3-compliant bitstreams. Due to the fact that Fra to find a freeware MP3 encoder. each encoder distributor, it is sometimes difficult ioned above) does have a free But at the time of this printing, MusicMatch (ment encoding utility in their Jukebox. Audio Catalyst is a lot more flexible than MusicMatch Jukebox, but you’ll need to purchase it. You can also purchase a MP3 encoder plug-in for Microsoft Windows Media Player running on Windows XP. Go to the Tools window in Windows Media Player for details. Quality The 16-bit linear PCM format, like a WAV file, can provide higher quality audio playback than the MP3 format, but at the same time it consumes about ten times as much storage space per minute. This is based on a 128Kbps sample rate. You CAN – you just have to make sure your get better than CD quality audio in an MP3 file with, and you have to encode it at a source material is better than CD quality to begin high bitrate, such as 160Kbps. and file size. All you will need to Below is a useful comparison of bitrates, quality, encoded, which best fits in with do is choose the bitrate at which you want the file your storage space requirements. The most common, a nd recommended bitrates are bolded. Bitrate File Size (1 Quality (Kbps) Minute file) 80 FM radio quality. .594Mbytes 96 Near CD quality .712Mbytes 128 Close enough to CD Quality most listeners can’t tell a difference 0.950Mbytes 160 Better than CD quality (at 48KHz) – good for hi gh end stereos 1.19Mbytes 320 Best quality, good for archiving, but takes up lots of memory 2.38Mbytes Compact Flash Media File Types and Storage 42

49 Check compatible Compact Flash The AM-4 Digital Audio Machine can use most any ATA for firmware updates to media. There are some manufactures of ATA Compact Flash that Alcorn McBride allow your AM-4 to use has identified to be more compatible than others. For a complete list of preferred Compact Flash sizes manufacturers, please visit the Knowledge Base on t he Alcorn McBride website at greater than 2 Gigabyte. Formatting the Compact Flash Note: Formatting the , you should always format it in If your Compact Flash card is 2G or smaller in size Compact Flash will Compact Flash larger than 2G should only be the AM-4 before using it. result in a loss of all The card included with your AM-4 has already been formatted in a PC. formatted data. Be careful to sary to reformat it unless you’re and contains a sample audio file so it is not neces backup any data filling it with new sounds. beforehand! The easiest way to do this is to hold down the test button while inserting the Compact : Make sure Important Flash card into the unit. Keep holding the test bu tton in until the LED turns green, that the Write Protect blinks, and then flashes red indicating that the fo rmat is complete. The process only DIP switch (#3) is OFF takes a couple of seconds. before trying to format the Compact Flash card. There is also a serial command that can be used to format the card. When using the serial command the LED will turn green and then go out indicating that the format is complete. Please refer to the Advanced Serial Protocol sectio n for specific details. File Types and Storage 43

50 Getting Files Into The AM-4 card externally, using a USB or You can either copy the files to the Compact Flash mputer, or if you have the Ethernet other type of adaptor for your desktop or laptop co option installed you can FTP the files directly to your AM-4. Copying Files Directly Using a PC Here is a step-by-step procedure for copying files from you PC to the Compact Flash card using a Compact Flash adaptor on you PC: Get a computer or laptop that has a Compact Flash C ard socket, or install • one yourself. Also available from your local Compa ct Flash distributor are converters from Compact Flash to PC-Cards, making i t possible to use a PC card socket on a PC or laptop. And lastly, there a re USB Compact Flash card readers available for PCs with USB ports. • Format the Compact Flash Card in the AM-4 by follow ing the procedure explained earlier. Remove the card from the unit (Power off the unit. Remove the front panel’s • metal plate, and look inside and push the square ej ector button to get it out.) If you need to get a larger capacity card, look onl ine or at your local camera shop or “Big Box” stereo store for starters. • Stick the Compact Flash card into the PC’s socket, and look for the drive letter Windows has assigned to your Compact Flash C ard drive. The computer sees it as an extra drive, like “F:” for t his example. • Open a DOS shell (yes, while you are still in Windo ws). Whenever possible use DOS, because DOS uses the same naming conventio n as the AM-4 Digital Audio Machine, but Windows does not. Change directories to the directory where your files are located. Press Enter after all these commands. For example: C:\ cd show1\audio • Enter something like “dir” on the command line to s ee your list of files. dir C:\show1\audio\ : The IMPORTANT act Flash Card and If you want to copy all the sound files to the Comp • AM-4 file system does only play list #13 (assuming you have these in the directory), enter the not support long file following: names. You should avoid transferring or C:\show1\audio\ copy *.MP3 F:\ renaming any file name copy PLY00013.LST F:\ C:\show1\audio\ that has more then 8 characters followed by • rd to make sure If you like, list the files in the Compact Flash Ca a 3 character extension. everything copied correctly. C:\show1\audio\ dir F:\ • Remove the card from your PC, and place it in the A M-4 Digital Audio Machine. Turn on the unit, and wait for the green L ED to go out. Press the test button to play the lowest numbered file. If i t plays, you did everything ion for potential problems. correctly. If not, check the trouble shooting sect File Types and Storage 44

51 Copying Files Using an FTP Connection Note: This procedure applies only if your AM-4 is e quipped with the optional Ethernet Module. Use a straight-thru Connect the AM-4 to an Ethernet network, or directl y to a PC with an • Ethernet cable to Ethernet jack and power-up the AM-4. connect to a network hub or switch. Use a serial terminal program or AMI Terminal to pr • ogram the AM-4 to an unused IP address on your network. If plugged dire ctly into a PC (not on a Use a crossover (Null) network) you can use the default IP address of 192. 168.0.254 (assuming that Ethernet cable for a default). it has not been previously changed from the factory direct connection to a PC. Also program a user • name and password using serial commands. You can u se the username (Admin) and password (Admin) if they h ave not been changed Refer to the Advanced from the factory default. Serial Protocol section in this manual for a list AM-4, format the Compact If this is the first time transferring files to the • of serial commands to Flash card in the AM-4 by following the procedure o utlined previously. set up your Ethernet • On the PC open a DOS shell and go to the directory containing the files you connection. want to transfer to the AM-4. AMI Terminal is a FTP • at the command prompt Begin an FTP session by typing Windows application (without the quotes, with the IP address replaced b y the AM-4’s IP address). used to control Alcorn McBride equipment. It • You should get a connection to the AM-4 and it shou ld ask for a username. is available at Type the username. It should then ask you for a pa ssword. • . You can use Windows e. Type the password. You should get a welcome messag • FTP client programs such as WinFTP if • Type “dir” (without quotes). You should get a dire ctory listing if files exist desired. on the media. • Type “bin” to get the interface into binary mode. uring file transfer. Type “ha” so that progress hash marks will appear d • IMPORTANT : The ” where filename is the name of the file you want to filename Type “put • AM-4 file system does transfer to the AM-4. not support long file names. You should • indicating that data You should see the hash marks go across the screen avoid transferring or is being transferred to the AM-4. renaming any file name that has more then 8 Once the transfer completes you can repeat the abov • e process for as characters followed by many files as the Compact Flash will hold. a 3 character extension. • Type “quit” to end the FTP session. chedule file was At this point the AM-4 will check to see if a new s • transferred and load it if found. 45 File Types and Storage

52 Required File Name Formats IMPORTANT : The . – in other words, an eight File names are represented in simple DOS 8.3 format AM-4 file system does r extension. There are two character name, a period, and then a three characte not support long file ways to name your sound files. names. Avoid using any file name that has more then 8 characters followed by a 3 character extension. SND00003.MP3 is an t characters specifying the type The first method consists of a name made up of eigh example of a numbered (SND for sound file, PLY for Play List), and the nu mber of the file (5 digits from file name. With this 00000 to 00511). naming convention, you can use the parallel The three character extension is used to tell the A M-4 Digital Audio Machine the data inputs to access files. format of the file, either MP3, WAV, or LST represe nting an audio file or a playlist. To avoid confusion, File numbers are used to identify which file is to be played in response to Select File don’t duplicate file serial commands or rear panel file selection parall el inputs. File numbers contained numbers. on a drive should be unique, regardless of the file type. In other words, you same drive. The two shouldn’t have PLY00002.LST and SND00002.MP3 on the ne file has the same number, the files should have different numbers. If more than o first file found in the directory will be used. Autoexec files are File 00000 is an autoexec file. A file numbered 000 00 is automatically executed on invaluable in stand- power up. For example, Play List PLY00000.LST will start as soon as the AM-4 alone applications. Digital Audio Machine is turned on. If the loop inp ut is strapped on, or if the Play List is designed to repeat, playback will continue indefinitely. If PLY00000.LST contains only a SH command, it will shuffle-play all the audio files on the media on power-up. SONG.MP3 is an long, with ing method is simply a name up to eight characters The second file nam example of a named file a 3 character MP3 or LST extension. name. With this method, only serial or Ethernet control can be used to trigger the file. Any type of file may be Although any file name may be copied to the AM-4 Di gital Audio Machine’s stored in the AM-4 (random playlist), (for SCL media, only MP3, WAV, LST (playlist), RND Digital Audio Machine, files, or schedules) GPS (for GPS playlists) are actually used by the AM-4. Other but only those listed in chiving of ANY information on file types are essentially ignored. This allows ar the table may be played. n, etc. Some example file the drive: CAD drawings, spreadsheets, documentatio names: File Types and Storage 46

53 File Name Description SND00000.MP3 Track number 0 MP3 Audio file SND00004.WAV Track number 4 WAV Audio file PLY00002.LST Play List Number 2 BARKING.MP3 Track Name “BARKING” Audio file SHOW1.LST Play List Name “SHOW1” SCHEDULE.SCL duled play. The file used for real-time clock sche PLY00000.GPS GPS Playlist Number 0. Play List Files Play Lists provide a mechanism for the AM-4 Digital Audio Machine to automatically play a collection of tracks in a pred efined sequence. Play Lists often allow the AM-4 Digital Audio Machine to be used to perform complex functions that Lists can perform functions as would normally require an external controller. Play simple as looping a single track, or as complex as user prompted pacing of the playback. Overview A playlist zero are identical to those that A Play List file contains a list of commands which (PLY00000.LST) will would be issued through the serial port. These commands are usually play -up. play on boot commands which cause the AM-4 to play audio tracks (or other Play Lists) on the media. When a Play List is being used, the commands are processed in the order in ASCII text file and can be made which they appear in the list. The Play List is an using any ASCII text editor (like notepad or DOS ed it) or using the Playlist Builder t/software.html. The program available from maximum Play List file size is 64 KBytes. A Play List can be started by serial or parallel co mmands, in exactly the same way as an audio track. For example, the serial message 2PL causes Play List PLY00002.LST on the currently sele cted drive to start. Discrete File Select Input 2 will also start PLY00002.LST. If Play List 0 (PLY00000.LST ) exists, it will be a utomatically executed on power up. r or name of another Play List, If a Play List contains a command to play the numbe ed at that point, and the new Play execution of the current Play List will be terminat List will begin. File Types and Storage 47

54 Special Play List Command Summary Special command characters further modify the behav ior of the AM-4 Digital Audio Machine. These characters are: Char Meaning U Uninterruptible. Causes the AM-4 Digital Audio Ma chine to ignore the Resume input and serial Play command while playing. It still processes them when waiting or paused. Play command to skip to the Interruptible. Allows the Resume input or serial I next track. This is the power-up default. ^ Wait. Unit waits until a Resume, Play, or repeat ed file select of the current playlist number is received, then continues to the next command in the playlist. Repeat entire Play List. The only way to stop the Play List from looping is to < nother file. Anything in the use the Stop input or serial command, or to start a Play List after the ‘<’ character is ignored. ; Comment. Ignore all characters until the next car riage return. Commands may be entered into the Play List in eithe r upper or lower case. All text following a semicolon (;) is interpreted as comment s, until the next carriage return. g the special command You may put anything you want in comments, includin characters normally used in the Play List. File Select inputs and reactivating the same Play List, When the AM-4 Digital Audio Machine is processing a serial Play command nd take on different meanings , File Select inputs or sending the serial play comma change functions when depending upon whether the unit is playing, paused, or waiting. Here is how they behave: using a Play List. Mode Uninterruptible Interruptible Playing Immediately play next file Ignored Paused Resume play Resume play Waiting Play next file Play next file Asserting and releasing the Pause input while the u nit is in the Waiting state of a Play List will also resume play. One thing to be cautious of is the unintended endle ss loop or uninterruptible wait. For example, if a Play List contains a U followed by an Loop Play command, it doesn’t matter how many more tracks may occur in it, there is no way to get to them! When using the U command, always include an I command be fore the next Loop Play or W, unless this is the desired behavior. Of course, you can always terminate the loop or wait with a stop command, or by selecting a diff erent file. Play Lists may contain references to other Play Lis ts, but as soon as such a reference is encountered the new Play List begins execution, and the old one is abandoned. File Types and Storage 48

55 Random Playlists PLY00002.RND is an he extension .RND will be executed The entries contained in a playlist file that has t example of a Random p command is issued to the unit. randomly. The playlist will never stop until a Sto Playlist filename. the random cycle, and will not The AM-4 keeps track of which files have played in As an alternative, you t which time the randomness begins repeat any files until all the files have played, a can use the “Shuffle” again. command (SH) in an autoexec playlist to randomly play all the files on the media on -up. power Example Play List Note: The playlist i,1PL,6LP,37PL,415PL,5PL,60PL < parser automatically adds the carriage return after the command, so it is not included in commands contained in the playlist. The list can be arranged all on the same line, as s hown above, or vertically as shown below. I 1PL ;You can comment your Play List file by using 6PL ;semicolons. All text after a semicolon is 37PL ;ignored until the end of the line where a ;carriage return is encountered. 5PL 60PL < hine into “interruptible” mode, The “i” character places the AM-4 Digital Audio Mac which means that the unit will respond to discrete Select inputs and serial play commands by jumping immediately to the next entry i n the list. The unit remains in ered, which in this example is interruptible mode until a “u” character is encount never - the entire list is interruptible. Next, the unit plays track #1. This track will be interrupted by track #6 if the user issues a new Play command. When track #1 is done, the unit loops track #6 cont inuously until the user issues a Play command. Then, track #37 plays. The unit continues straight into track #5 followed by track nning, continuing straight into track #60, at which point the list loops back to the begi #1. File Types and Storage 49

56 Example Play List with BGM Mode Note: BGM operation is By using the BGM Playlist Mode you can cause the AM4 to pick up sound from where it left only available when off between playing other sounds. This is useful if you want to step through a playlist using using MP3 audio files. a serial or contact closure, playing spiels and the n picking up a background track from where it left off before the spiels started. Below is an example of this type of playlist. Note: The 1BG at the 1BG,1LP,2PL,1LP,3PL,1LP,4PL,1LP,5PL,1LP,6PL< beginning of the playlist enables the Background Mode. In the above playlist, each time a play command is received (or whenever the contact closure associated with the playlist number is acti vated) the playlist is stepped through from one command to the next. Whenever the “1LP” command is encountered, since the Background Mode is enabled S ound Number one will “pick up” from where it left off when it was interrupted by the intermediated Play commands. If a different sound is selected to loop then it th en becomes the new background track. In other words, if the fourth “1LP” in the above example playlist was replaced e the new “Background” with a “10LP” then Sound Number 10 would then becom sound. Example Play List with Output Relay Control You can override the normal functions of the Play a nd Fault output relay contact erial commands or in a playlist. closures and control them manually either through s relay control commands. Below is an example of a playlist that uses manual Once you issue an RL 1FRL,1PL,0FRL,1PRL,2PL,0PRL,< command the normal function of the Fault and Play outputs are under manual control and do not activate automatically for Play or Fault anymore. In the above playlist, the Fault output relay is on whenever Sound Number 1 plays, and the Play output relay is on whenever Sound Numb er 2 plays. Refer to the Advanced Serial Commands section for more details on the RL command. File Types and Storage 50

57 Power Up Operation When power is first applied to the AM-4 Digital Aud io Machine, it briefly blinks the Status LED green. It then checks to see if a new fi rmware file exists, or if a track or Play List should be played, according to the follow ing priority: Note: The Fault relay found, the firmware is Check the Compact Flash card for a OS.NEW file. If • output will be closed on updated and the file is renamed to OS.SAV. -up indicating power that power was lost. It Process and execute any real-time schedule operatio ns. • will open as soon as a • Play any track or Play List that is hardwired at th e Control Connector. valid command is issued. • Play track or Play List 0 from the media The first condition detected will be processed. Suc cessive conditions are ignored. If ile found will be used. more than one file has the same number, the first f Updating Your Firmware You can download the latest firmware upgrades for y our AM-4 Digital Audio Machine from ware.html To update your firmware do the following: • a laptop or PC, and Establish a serial connection with the machine with verify you need an update. Type ?V and press Enter to get a firmware version back from the unit. Compare that to the ve rsion number listed on the website. If you need an upgrade, continue. Al so, if you have a serial connection, you’ll get status info during the updat e. • Download the firmware file to your PC and rename it to OS.NEW • Copy it to your Compact Flash Card. Use the “Gettin g Files into You Box” section for help doing this . It is very important to copy this file correctly for your firmware update!!! So please read that section just to make sure consider defragging the you have copied the file properly. You should also Compact Flash card, if it is not freshly formatted, before going further. • Load the Compact Flash Card into the machine Flip the red DIP-switch #3 up (OFF) to enable writi • ng to the Compact Flash. • Power cycle the machine • The unit will flash the status led alternately betw een red and green while the firmware is updated. • Wait for LED to go out completely. ?V er • You’re done. Type and press Enter to verify the updated version numb Power Up Operation 51

58 GPS Operation GPS Operation 52

59 The AM-4 Digital Audio Machine can automatically tr igger MP3 sounds whenever it h this feature you can easily enters into a predetermined geographical area. Wit design a “No Operator-Intervention Required” audio system on a tour bus or tram nds whenever it arrives or passes that automatically plays pre-recorded spiels or sou by a specified location. Enable the GPS mode of from a GPS (Geographical The AM-4 accomplishes this by reading a data stream operation by turning Position Satellite) sensor. This sensor is often i n the form of a “GPS Mouse” or pod DIP switch #4 ON that outputs a serial data stream containing Longit ude and Latitude data obtained (down). up to a serial or USB port on a from orbiting GPS satellites, and normally connects laptop computer running mapping or direction-findin g software. In the case of the In GPS Mode, the AM-4 AM-4, the sensor connects up the 9-pin serial port. will not accept normal serial commands. The AM-4 accepts a sensor is compared to The Longitude and Latitude data supplied by the GPS standard NMEA-0183 list used for GPS operation is a geographical points stored in a playlist. The play data stream at default Playlist Files normal playlist (described in the section of this manual) except the 4800 baud. You can Longitude and Latitude commands it contains are con tinuously compared to the change the baud rate incoming GPS data. As each coordinate, or waypoint , in the playlist is matched the using the BR command AM-4 responds by executing the next line of the pla ylist. While the AM-4 is wai ting in your GPS playlist. for a coordinate match, the playlist can command th e unit to either play a background track, or it can just wait silent. It all depends on how you make the playlist. For the latest version of The playlist used for GPS operation is easily creat ed by a Windows application GPS Builder go to called “GPS Builder” supplied by Alcorn McBride. support/software.html. GPS Builder GPS Builder provides you with a simple method of cr eating playlists for use in the AM-4 while operating in GPS Mode. Here are some of the main features of GPS Builder: input source. Accepts and automatically detects any NMEA 0183 GPS • • Allows you to quickly enter Longitude and Latitude waypoints along a route with the click of a button (or spacebar). • Contains a complete list of built-in commands for t he AM-4. You do not need to enter them manually. Enables you to easily edit playlist parameters. • Below is a screenshot of the GPS Builder program wi th a playlist loaded: 53 GPS Operation

60 Program Description The program is set up much like a spreadsheet, with horizontal rows that represent specific tasks for the AM-4 to execute, and vertical columns that contain the various parameters associated with the particular task. Clicking the small buttons to the right of each cell will provide further help with that cell’s contents. The following explains each column in detail. Command The Command column contains the command to be execu ted at a particular Longitude and Latitude (if specified). A pull-down menu of avail able commands is provided. Often, this command is a Play command because you normally want to play a particular spiel or sound at a specified location. Other commands such a Relay ON/OFF or Set Background commands are available. Set Background Many times the first command in a Playlist will be a “Set Background” command which tells the AM-4 what sound to play and loop while waiting for the next sound to be triggered. After the triggered sound plays the background track pick s up from where it left off. Two Data parameters are used for the Set Background command. They are as follows: Data1 : The sound number or sound file name used for the background track. Data2 : (Optional) The amount of time (in seconds) that t he background track will fade-in after the previously triggered-sound has played. This ti me can be from 0 to 10 seconds. y any file (it will be silent) between If no background is specified the AM-4 will not pla triggered sound. GPS Operation 54

61 Play This is command normally associated with a specific geographical location and is executed when the Longitude and Latitude locations specified in the corresponding columns are matched. The Play command uses one Data column des cribed here. Data1 : The sound number of sound file name to be played. Data2 he track will fade-in : (Optional) The amount of time (in seconds) that t Data1 and Data2 The Data1 and Data2 columns are used to supply addi tional parameters to commands. They hich they apply. are described above with the specific commands to w Latitude and Longitude The Latitude and Longitude parameters specify where the command will be executed. This d at the end of this section of the manual. data is entered by following the procedure describe Direction This is the heading, in degrees, of the direction o f travel. North is 0 degrees and South is 180 to qualify a GPS trigger. The tolerance is degrees. The AM-4 will use the acquired direction 45 degrees (+/- 22.5 degrees). If you want the poi nt to trigger independently of direction, rigger no matter which direction you’re remove the direction parameter and the point will t going. Tolerance The amount of tolerance at which a particular trigg er occurs for a programmed Latitude and number. The pull-down menu provided Longitude can be adjusted by specifying a Tolerance is shown here: sor updates at one-second intervals (this Longitude and Latitude data provided by the GPS sen is a function of the sensor, and not the AM-4). As a result, you can “drive through” a desired trigger point if the vehicle is going fast enough s o that a matched GPS point is not received ter the vehicle travels for a given point the within the one-second interval. Therefore, the fas wider the specified tolerance must be. This menu a llows you to specify the tolerance in either meters or speed. GPS Operation 55

62 Tolerance can be changed at any time in the playlis e t. For example, you might want to tighten toleranc for a trigger that occurs while the vehicle is movi ng slower (or stopped), and need to open it up for when the vehicle is traveling faster. Map Display If an Internet connection is present, you can view the location of your GPS point on a map. Click on t he or in the row of the latitude and longitude you wis map tab at the bottom of your screen. Put your curs h to display. Click on the “Update Map” button. Note: you may have to scroll down to view the map. GPS Setup If you are having trouble getting a connection to y our GPS input source, click on the ‘GPS Setup’ button to change baud rate or com port. In most ca ses, “Autodetect” will discover your GPS input device correctly. GPS Operation 56

63 Connection Diagram In order for GPS Builder to detect latitude and lon gitude, a GPS sensor must be connected to a serial port. Below is a connection diagram for the GPS Kit that can be purchased from Alcorn McBride Inc. Program Operation GPS Builder to make a playlist for the The following is a step-by-step guide on how to use oing to do is make a “boilerplate” AM-4 operating in GPS Mode. Basically what we’re g playlist and then enter GPS points afterwards. Step 1: nder the Command column. Select Click on the little “down” arrow in the first box u a command. This is usually a Set Background comman d if you want a background track to play between triggers. If you don’t want a background track select a Play command. Step 2: column. If you selected a Specify the sound number or file name in the Data1 in the Data2 column. background track in Step 2, select the fade-in time Step 3: ext to the Tolerance box. This Select an initial Tolerance by clicking on the “...” n number will normally depend on how fast the vehicle is traveling for the first trigger. Step 4: il you’ve completed your Enter subsequent commands on the following rows unt “tour.” Each command can be any of the commands li sted in the pull-down menu available in the Commands column. Also fill in the LCD display for each trigger. Note: Only MP3 files Step 5: can be used for GPS operation. Once all of the commands have been entered, save yo u file by click ing on File...Save As... , giving it a name, and clicking OK. GPS Operation 57

64 Step 6: Note: The satellite GPS e) to your laptop. The Connect the GPS sensor (sometimes called a GPS Mous signal will only work program will begin detecting the GPS input stream a nd will display “GPS OK!” once outdoors and not inside detection has occurred. When the GPS sensor succes sfully locks onto the satellite buildings or tunnels. signal, Longitude and Latitude values will begin to update in the windows on the left. The sensor needs “line- pear until the sensor locks Note: No Longitude or Latitude information will ap of-sight” to the sky in onto a valid satellite signal. order to receive the satellite signals. Step 7: You’re now ready to begin entering GPS trigger poin ts. Get in your car! Place the GPS sensor on the roof (or other mounting location recommended by the GPS sensor manufacturer). Drive to the first desired trigger point. Once you’re there, click the it the Space Bar. GPS Builder mouse into the Latitude box on the first line and h records the coordinate and advances to the next lin e. After this point all you need to nother coordinate. do is hit the Space Bar each time you want to log a Step 8: Drive to the next trigger point and hit the Space B ar again. GPS Builder records the coordinates have been entered. next coordinate. Keep doing this until all of your Step 9: Click on save your file. Name the file “PLY00000.GPS”. Make a backup! Step 10: Note: It’s always best to going to use in the AM-4, along Copy the playlist to the Compact Flash card you’re format the Compact with all of the sounds referenced in the playlist. Flash in the AM-4 before using it. GPS Operation 58

65 Operating the AM-4 with GPS Now that you have your playlist file with the GPS c oordinates, you can use it in the AM-4. Here’s how. Make sure that the AM-4 GPS Mode DIP switch is ON. It’s DIP Switch #4, and it should be in the down position to turn it ON. Install the Compact Flash card that contains the pl aylist you prepared in the previous section. Make sure that it also contains all of th e sounds referenced in the playlist. Connect the GPS Receiver (mouse) to the GPS Harness Kit that came with your AM- 4 GPS, and connect the other end of the harness to the corresponding input jacks on the AM-4. The AM-4 is compatible The diagram below shows the proper connection using the Alcorn McBride GPS Kit. with any serial GPS receiver which outputs a NMEA-0183 data stream at default 4800 baud. You can change the baud rate using the BR command in your GPS playlist. The AM-4 will steadily blink the Green LED whenever a valid GPS input is detected. The LED will blink RED while the GPS sensor is Place the GPS sensor on top of the vehicle or other position that the GPS sensor acquiring GPS satellite manufacturer recommends. data. Connect the AM-4 audio output. If you have the bui lt-in amplifier module option installed you can just connect up speakers, otherwi se connect an amplifier and speakers to the line-level (RCA) outputs. Turn up the volume about half- way to start (you can adjust it later). an accept 10V to 24 VDC. Connect the AM-4 to your vehicle power. The AM-4 c es works very well. The “cigarette lighter” outlet found in most vehicl 59 GPS Operation

66 Different Sounds, Same GPS Point on’t need to travel around The AM-4 GPS operates in Random mode, whereby you d If used, the “Set your programmed GPS coordinates in order for it to work. That means that you can Background” command nd then skip to the fifth trigger for go through the first trigger in the GPS playlist, a issued in the first der. example. There is no need to go in any specific or playlist will remain in effect for subsequent sound the second or third time What if you want to have the AM-4 play a different playlists. As a result, ou want to play an “Arrival passing through the same point? For example, say y background music will Spiel” when passing through a point the first time, and then play a “Departure Spiel” not be interrupted when when passing the same point in the second time. changing playlists. Here’s how to do this: Make two different GPS play lists; one for the first pass and a second for the second time. Each playlist contains an entry with the same “Arrival- Departure” point, but each has a different sound fi le associated with it. The last GPS coordinate in the first playlist is a Play command with the file number corresponding to the second playlist number. Simil arly, the second playlist has a l ast GPS coordinate with a file number corresponding to the first playlist number. When these points are passed the AM-4 switches to the ne w playlist and abandons the old one. You can do this for as many different messages you want for the same point. You just need to decide where you want to switch to the next playlist. Note also that you new playlist takes over. All you do not need to play a sound at the point where the need to do is call up the new playlist, at which ti me it will take over and start l ooking for GPS matches before playing a sound. Connecting an LED or LCD Sign The serial protocol of Often times public transportation vehicles have ext ernal LED or LCD signs to the sign must match the display route numbers, advertising, or other inform ation. The AM4 can control these GPS receiver and be set ained in the GPS Playlist. signs based on GPS locations using information cont at 4800,N,8,1. Builder starts up and Simply click the “Has LCD Module” checkbox when GPS when the GPS Playlist grid is displayed a new colum n called “LCD Display”. Type anything you want to display and it will be sent ou t the serial port to the sign. Depencing on your specific configuration, you may n eed to contact Alcorn McBride and order a special cable assembly to split out the serial port connections for a sign hook-up. With regards to programming, you may need to includ e some special control characters in the display strings to achieve compat ibility with your particular sign’s protocol. If you’re having trouble getting your sign to work wit h the AM4, please do happy to provide some not hesitate to contact Alcorn McBride and we’ll be assistance. GPS Operation 60

67 Troubleshooting Guide / FAQ have a look at our If you don’t find an answer to your question here, Knowledge Base at ml. We’re always updating it with new answers and useful information ! I’ve copied several files from my PC onto a Compac Q: t Flash card, but I can’t get a directory listing, either via the serial command or FTP. A : The Compact Flash card may have been pre-formatte d in a way, which is incompatible with the AM-4’s operating system. For mat the media in the AM-4 Digital Audio Machine, and then re-copy the files. Q: I have several files on my AM-4 Digital Audio Mach ine. When I try to play one of them, a different file plays. All file names and numbers must be unique. You ca nnot have, for instance, two A: files named SND00005.MP3, or have a file named SND0 0003.MP3, along with a PLY00003.LST. The Compact Flash could also be frag mented, in which case you need to format it in the AM-4 and re-copy the files . Q: I have created a playlist using Windows, but it do esn’t work on the AM-4. A: Windows sometimes uses its own filename extensions , or adds extensions that are hidden when viewed in Windows Explorer. Try using a DOS shell, and renaming the file, or use a DOS editor actually create the file. Q: s section to get sound files into I’ve done all the stuff listed in the Copying File ay them. my AM-4 Digital Audio Machine, but it just won’t pl A: Did you ever use Windows instead of DOS to copy the files over? If so, reformat the Compact Flash in the AM-4 Digital Audio Machine , and go back through the steps. Q: Can I control the AM-4 Digital Audio Machine with your show controller? A: Yes. There exists a protocol file specifically des igned to operate the AM-4. Q: What brands of Compact Flash Cards do you recommen d? Where do I get one? s from SanDisk and Simple A: We don’t have a brand we endorse, but we know card Technology work in the units. You can typically ge t them from a local camera shop, ATA compatible. Also check our computer supply store, or online. They need to be Knowledge Base at ml. Type in Compact Flash to see if we have added anymore to our list. Q: I press the test button and no file plays, but I’m sure I put files on there. Did you name the files correctly? Did you copy th A: e files via DOS? Can you see the files using AMI Explorer? Are they valid audio files? Q1: I hear parts of one file while I’m playing another . Q2: I hear popping or blank spots in my audio playback . Your Compact Flash card is fragmented. Format the card in the AM-4 and re- A: copy the files back onto it. Troubleshooting Guide / FAQ 61

68 Q: to figure out what’s wrong? Do you have a basic checklist I can go by in order Here’s a checklist we have compiled of typical thi ngs you can check to make sure all the bases A: are covered: Is the unit plugged in? (bear with us) • Does the unit have a Compact Flash card in it at al l? (remove the front metal plate & • check) • Is the Compact Flash card pressed in all the way? cables somewhere else successfully. • Validate you’ve used the speaker cables/line level Verify your speakers work, etc... • If you are using a serial cable, is it straight thr ough (not null modem)? Are your audio files valid? Check them on your PC u sing Adobe Audition (formerly • yer application. CoolEdit, Windows Media Player or another audio pla Are your file name formats valid? See the section to be sure. • File Names • If copying files from your PC, did you use DOS? If you used windows, save the audio ollow the list of steps in the Copying files somewhere. Reformat the card in the AM-4. F section Files • Take every other piece of control equipment away fr om the unit, making it stand alone until you get it running. Try to make it operate no w either with contact closures (paper clips will work) or serial commands from a laptop o r PC. • If the unit shows no response to serial messages typed by hand or from another s ystem: o Have you validated you are communicating through th e serial port correctly? If you want to validate the Chosen the right PC comm. port? Using 9600, 8,N,1? her pins 2 and 3 on your comm. port is right, use a paperclip to short toget computer’s serial port cable. It should echo back to you the keys you type from a terminal emulator like Hyperterminal. Are you using the correct commands listed in the Ad vanced Serial Protocol o Section? Can you get a version number from the box by using a terminal emulator, or AMI Terminal? • Is the Compact Flash Card damaged? Do you have a se cond Compact Flash card you can temporarily use to make sure the Compact Flash Card isn’t just damaged? Go through the file copying process with the new Compact Flash Car d, and try to play the file. • Is the unit damaged? If you can put another AM-4 Di gital Audio Machine in the circuit, you can rule out the possibilities of a damaged uni t. Remember to use the same Compact Flash card. Q: rogrammed GPS points. My AM-4 is not triggering when I pass through my p A: Here’s a list of things to check when operating in GPS mode: • Make sure that you’re using only MP3 files. The AM -4 does not support the playback of WAV files in GPS mode. • Have you named the GPS playlist correctly. It shou ld be named PLY00000.GPS to start automatically. • Is your tolerance set too low? Try to move very sl owly through the programmed points at first to see if you get a trigger. If the trigger fails at higher speeds then you might need to set the tolerance higher. Troubleshooting Guide / FAQ 62

69 • Are you going in the correct direction for trigger( s)? The trigger will only occur when rigger contains no direction traveling in the programmed direction (unless the t information, in which case it is omni-directional a nd will trigger in any direction.) • Is the LED blinking GREEN on the front of the AM-4? If not, 1. Check the DIP switch in the back of the unit. I t should be set for GPS operation. 2. Verify that your GPS receiver (mouse) is connect ed. satellites (LED will blink RED 3. Make sure that the receiver has acquired the GPS until acquision has occurred.) Troubleshooting Guide / FAQ 63

70 64 Troubleshooting Guide / FAQ

71 Mechanical Information Mechanical Dimensions Surface Mounting 65 Mechanical Information

72 Surface Mount Kit, Part Number 230-100979 Description Qty Part Number 2 306-100711 Mounting Flange Screw, 6-32 x 3/8, Pan Head, Black Ox, SS 6 500-000566 Mechanical Information 66

73 Rack Mounting s in a 1U rack mount space. You can mount one or two AM-4 Digital Audio Machine Rack Mount Kit, 1 Unit, Part Number 302-100703 67 Mechanical Information

74 Rack Mount Kit, 2 Unit, Part Number 302-100704 68 Mechanical Information

75 Specifications Audio DAC Resolution: 16 bits Deviation from Linear phase: +/-0.5dB Total Harmonic Distortion: 0.003% Dynamic Range (A-weighted): 94dB Inter-channel Isolation: 90dB Inter-channel Gain Mismatch: 0.1dB Frequency Response: 10 to 20 Khz +/- 0.1 dB Maximum Phase Non-Linearity: 5 degrees Line Out Level: Unbalanced, 2V P-P max into 20K Balanced Output (optional) +4dBu Amplifier Output (optional) 20WRMS x 2 8ohms each (@10% THD) Playback Time Approximately 16minutes MP3 128Mbps audio from incl uded 16Mbyte Compact Flash card. (based on 128Mbps encoding, which requires about 1M byte storage per minute of audio) Trigger Response Time Less than 33 msec. Power 12 VDC to 25.0 VDC at 2 Amp max with installed Comp act Flash Card. Connector: 2.5 mm I. D., 5.5 mm O. D., 10 mm shaft length. Adapter for 100/250 Volts 50/60 Hz provided (CE, UL , CSA) Switches and Indicators Front panel test button. Front panel bi-color LED. Rear panel DIP switch for ground lift, input type, write protect, and GPS mode. Rear panel volume control Connectors Rear Panel DB-9M serial I/O connector. Rear Panel DB-37F parallel and serial I/O connector . Rear Panel RCA type Phono connectors, left and righ t audio. Rear Panel Barrel connector (2.5 mm x 5.5 mm x 10 m m) for power. Optional: Rear Panel Screw Terminal Speaker Connectors (20Wat ts/8ohms) Rear Panel XLR-1/4 inch Combo Connectors for Balanc ed Audio Rear Panel RCA connector for S/PDIF Digital Audio Rear Panel RJ45 jack for Ethernet connection Ethernet (optional) 10/100BaseT FTP, ARP, UDP protocols Physical 9.3339” x 7.0000” x 1.7190” (DxWxH) 4 lbs o o o o C (32 F) to 38 C (100 F), free air circulation. 0 0-90% relative humidity, non-condensing 20 g max Vibration (with removable Compact Flash Ca rd) Part Numbers AM-4 Digital Audio Machine with 100/250Volts 50/60 Hz, 3A switcher , Part Number 230-100978.00 Flush Mounting Bracket Kit, Part Number 320-100375 Rack Mounting Bracket Kit, 1 Unit, Part Number 302- 100703 Rack Mounting Bracket Kit, 2 Unit, Part Number 302- 100704 Mating Connector and Housing for DB-37F, Solder Cup , Part Number 320-100376 Compact Flash Card Media – contact factory Specifications 69

76 Index F A FAQ, 62 AMI Terminal, 18 Fault, 7, 12, 17 AMINet, 24 File Amplifier, 10 .MP3, 48 Audio Control, 21 .LST, 48 autoexec, 15, 19, 47 #00000, 47 8.3 Format, 47 B File Select, 12 background, 51, 54, 55, 58, 61 File Types, 42 background music, 61 Firmware, iv, 3, 23, 52 Balanced, 3, 10, 70 Firmware Version , 23 baud, 18 Format , 22 BGM Playlist, 51 Formatting, 7, 44 Frequency Response, 70 C FTP, 11, 23, 34, 41, 45, 46, 62 checklist, 63 G Checksum, 25 Command Bytes, 19–20, 21, 22, 23 Getting Files Into Your Box, 45 Command Event, 29 1, GPS, 3, 7, 9, 22, 47, 48, 54, 56, 57, 58, 59, 60, 6 comments, 19, 21, 22, 23 70 Comments, 19, 20, 34 GPS Builder, 54, 59 Compact Flash, 2, 3, 4, 6, 7, 8, 11, 24, 34, 44, 45 , Ground Lift, 8 46, 52, 62, 63, 70 ground loops, 8 Connectors, 70 contact closures, 16, 17 H Contact Closures, 12–14 hum, 8 D I DAC, 70 Interruptible, 49 DB-37, 14 DB-9, 11, 18 Dimensions, 66 L DIP switch laser disc, 19 Ground Lift, 8 , 22 latitude Voltage/Contact Closure, 8 LED, 7 Directory, 22 LED Meaning, 7 Distortion, 70 longitude , 22 DOS, 47 Loop, 12–15, 18–19, 18–19 , 35, 36 Double Occupancy Dynamic Range, 70 M E Mechanical, iv, 66 MP3, 2, 4, 23, 43, 45, 47, 48, 62, 70 End Date, 31 Mute, 12, 14, 21 End Time, 31 Ethernet Module, 11 Index 70

77 , 28, 34, 41 schedule.txt N scheduler, 22, 28, 29, 30, 34 noise, 8 Scheduler, 21, 22, 28, 34, 35, 36 Non-Linearity, 70 Builder, 37 Search, 19 O serial cable, 11 Serial Control, 18 Output Relay, 23, 51 Serial Port, 9, 11 Serial Port Mode, 9 P Serial Protocol, 21 Parallel Control, 12 SND, 47 Parallel Outputs, 17 Specifications, 70 Parallel Port, 12 Start Date, 29, 30, 31 parity, 18 Start Time, 29, 30, 31, 35 Pause, 12, 14, 18–20, 18, 20, 21, 49 Stop, 12 Phase Non-Linearity, 70 Storage, 22 Pioneer, 18–19, 21 strain relief, 11 Play, 18–62, 18–62 sunrise , 31 Play List, 48, 50, 51 sunset , 33 Playing, 12–14, 17 Surface Mount, 67 PLC, 12, 17 Power, 10, 11, 70 T Power Up, 15, 52 Technical Support, 3 power-up, 19 Troubleshooting, 62 protocol, 18–19 TXD, 11–12 R U Rack Mounting, 8, 68, 70 UDP, 11, 18, 25 RCA, 70 Uninterruptible, 49 Repeat, 49–50 Repeat Number, 29, 30, 32, 33, 34 Repeat Period, 29, 30, 32, 33, 34, 35 V Repeat Set, 29, 32, 33 voltage inputs, 12–14, 17 Response Time, 70 volume control, 4, 10, 70 Resume, 20, 49–50 RS-232C, 11, 18 W RXD, 11–12 Wait, 49 S WAV File Formats, 42 S/PDIF, 3, 6, 10, 70 Sample Rates(Khz), 42 sample rate, 70 Whitespace, 34 Schedule Write Protect, 7, 8 Schedule Builder, 37 71 Index

Related documents