A R – 2 0 0 S AUDIO RECORDER RS-232C Reference AR-200S RS-232C Reference Version 1.0 c © 2006 Unauthorized copying or reproduction of this manual in part or in whole is prohibited.
R - Contents Section1 Introduction ..............................................................................................................................1 1.1 If You Have Been Using the AR-3000 ..........................................................................................1 1.2 If You Have Been Using the AR-2000 ..........................................................................................1 Section2 2.1 Setup .............................................................
R = PC Copy Phrase.........................................................................................................15 = PD Delete Phrase ......................................................................................................15 = PI Seek and Set Playback Points at the Locations of Silent Portions ...................15 4.2.3 Setting Commands .............................................................................................................15 = CV Card Name Settings.....
R = TQ Time Stamp Request...........................................................................................26 = UQ Program (Count) Playback Setting Contents Request ......................................26 = VR Version Request ..................................................................................................26 4.2.5 Reply Commands................................................................................................................
R 5.3.3 Recording ( Time-Stamped Recording)..............................................................................43 5.3.4 Verifying the Parameters (Data Settings) of All Phrases Starting with the Lowest-Numbered Phrase .................................................................................................44 5.3.5 Deleting a Phrase ...............................................................................................................
R Section1 Introduction This manual explains how to control the AR-200S using RS-232C. For details on the operation of the AR-200S itself, refer to the AR-200S owner's manual. This manual assumes that you have a basic understanding of computers. For explanations of computer terminology or operation, please refer to commercially available manuals. The contents of this manual are subject to change without notice. 1.
R 2.2 Handshaking If the AR-200S's processing speed is slower than the speed at which data is transmitted from the computer, measures must be taken to avoid data loss. Conversely, data loss will also occur if data is transmitted from the AR-200S faster than the computer can process it. For these reasons, the AR-200S uses “Xon/Xoff” handshaking. The external computer can control transmission from the AR-200S in the same way. The ASCII code signal name for Xon is DC1, which is 11H.
R 2.6 AR-200S Settings When using the AR-2000 via RS-232C, the baud rate must be specified. 2.6.1 Baud Rate If the AR-200S's power is turned on when a card is not inserted, the baud rate will default to 9600 bps. If a card is then inserted, the settings will change to the settings which are contained in the card. However this will occur only for the first-inserted card, and subsequently inserted cards will be ignored.
R Section3 Overview of Commands The AR-200S and the computer communicate using commands. 3.1 Command Structure Commands consist of STX (02H) + two uppercase characters. However, the Type 0 commands listed later are exceptions to this. 3.1.1 Communication Protocol Depending on the command, four types of communication protocol are used between the computer and the AR-200S.
R 3) Commands originating automatically from the AR-200S Some commands are transmitted automatically from the AR-200S. The two commands CC (card insertion status output) and %% (completion status output when a card operation takes place) fall in this category, and use the following procedure. a. stx + command COMPUTER AR-200S a. The AR-200S will automatically transmit the command. There is no need to return an ACK, etc. 4) Commands accompanied by confirmation The 4.2.
R 3.1.3 About Input Parameters 1) Generally, parameters use decimal notation, and are variable length. Example) stxDC:10; stxDC:5; Example) stxMP:A1,30; ,stxMP:A20,255; 2) Characters in a card name etc. are enclosed in double quotation marks ( “ ). Example) stxCV:0,“ABCDEFGH”,0; 3) To specify the phrase, put an ‘A’ in front of the phrase number. Example) stxPA:A1; ( plays back phrase 1) * A01 , A001 or A0001 is the same as A1. 3.1.
R Section4 Details of each Command 4.1 Commands Transmitted from the External Device (Computer) to the AR-200S The following 5 types of command are transmitted from the external device to the AR-200S. “External” in these explanations refers to the computer. “AR” refers to the AR-200S. 1) Control (execute) commands These command signals cause the AR-200S to operate; e.g., playback or record. The player functions use mostly these commands.
R 4) Request commands This command causes the AR-200S to output the status of its current settings. When a Request command is transmitted to the AR-200S, the AR-200S will transmit the requested contents as the Setting output command. In this case, an ACK will not be returned. However for the AC and AQ commands, an ACK will be output. If the command was not correct, an ER command will be returned.
R = PL Playback Start Function: Starts Playback Syntax: stxPL; Example) stxPA:A0001,A0003,A0007,A0006,A0010; When phrases are specified as above with the PA command, phrases A0001, A0003, A0007, A0006, and A0010 are played back in sequence. Note: Phrases specified with the PA command are played back in sequence. If no playback phrase is specified with the PA command, phrase A0001 is assigned and played back.(* If no phrases are available, the ER command is output.
R Note: The number of digits for **F (frame) increases according to the value of MTC type. The range in which the offset time can be specified is valid only within a single phrase. An offset time that exceeds the recording time for the phrase cannot be specified. (The AR-200S outputs an ER command.) You can play back a phrase from a point offset by a specified time before or after a paused point by sending this command while playback is paused (see the PE command).
R >PLR Start Right Channel Playback (Dual Mono Mode) Function: Starts playback of the right channel Syntax: stxPLR; Example) Note: stxPA:A0001,A0003,A0007,A0006,A0010; When Dual Mono Mode is on and the above phrases are specified with the PA command, phrases A0006 and A0010 are played back in sequence through the right channel. Even-numbered phrases specified with the PA command are played back in sequence through the right channel.
R Recording Commands = AE Starting Time-Stamped Recording Function: Starting Time-stamped Recording Syntax: stxAE: a, b, c, d, e, f, g, h, i; a year ( 1998 – 2050 ) b month ( 1 – 12 ) c day ( 1 – 31 ) d hour ( 0 – 23 ) e minutes ( 0 – 59 ) f second ( 0 – 59 ) g RDAC-Grade 0 Announce 1 Long 2 2 Long 1 3 Standard 4 High 5 S-High h RDAC-Mode 0 Linear 1 Mode 1 2 Mode 2 3 Mode 3 4 H – Linear i Recording Type 0 Mono 1 Stereo Example) stxAE:2006,3,1,8,59,0,0,1,0; Add a time stamp for “2006” “March” “1” “8:59:00” a
R = RE Start Recording Function: Start recording Syntax: stxRE; Note: When using the RE command, you must first use the RM command to put the unit in Record ready mode. To stop recording, use the ST command. Recording starts when audio higher than the trigger level is input. the following four types of trigger recording setteings are available. OFF: Trigger recording is not performed. LOW: Recording starts when audio higher than -45dB. MID: Recording starts when audio higher than -36dB.
R 4.2.2 Editing Commands = DM Enable Execution of Editing Commands Function: Enable execution of editing commands. Syntax: stxDM; Note: Caution: In order for editing commands to be executed, the DM command must be used to put the unit into Delete mode. For the communication protocol, refer to 4.1 2) Editing commands. When Delete mode is exited, the AR-200S will automatically output a CC command. The AR-200S automatically escapes from the Delete mode two minutes after the DM command is issued.
R Phrase Editing = PC Copy Phrase Function: Copy phrase Syntax: stxDM; stxPC: a, b; a Phrase number of the copy source b Phrase number of the copy destination Example) PC:A1,A3; This copies the contents of phrase “A0001” to phrase “A0003”.
R Caution For the pattern phrase number, specify a phrase number where nothing is recorded. For the playback phrase number, Audio phrases, MIDI phrases, and pattern phrases can be specified. > PS (Pattern phrase Set up for AR-3000/200S) Function: Pattern Phrase settings Syntax_1: (Sequence or Random 1) stxPS: a, b, c, d, e, f, g, ....
R Phrase Settings < SU Phrase Settings Function: Phrase settings Syntax: stxSU: a , “b” , c, d, e, f, g, h , i, j; a Phrase number b Phrase name (up to 12 characters) c Playback Volume (10 - 100) d Delay Time (0S0 - 59S9) e Repeat Playback 0 OFF 1 ON f Repeat interval (0M0S - 59M59S) g Control Output 0 OFF 1 ON h Offset time of control output (0M0S - 59M59S) i Tempo (5 - 260) j Reserved (0) Example) SU:A001,“ABCDEFGHIJK”,100,10S5,1,5M0S,1,5M10S,120,0; For phrase number “A001”, this sets as follows; Phrase n
R > PP Playback Point Settings Function: Playback Point settings Syntax: stxPP: a, b, c; a Phrase number b Start (0H0M0S0F0S - 23H59M59S**F9S) c End (0H0M0S0F0S - 23H59M59S**F9S) Note: Caution The number of digits for **F (frame) increases according to the value of MTC type. The AR-200S cannot respond to this command during crossfades, repeats, or intervals.
R > FD Fade In and Fade Out Settings Function: Fade In and Fade Out settings Syntax: stxFD: a, b, c, d, e; a Phrase number b Fade In Type 0 OFF 1 Time 1 2 Time 2 3 Time 3 4 ( 0S1 - 59S9 ) c Fade In Time ( 0S1 - 59S9 ) * This parameter is ignored when fade out type is 0 to 3. Please send one value of 0S1-59S9. d Fade Out Type 0 OFF 1 Time 1 2 Time 2 3 Time 3 4 ( 0S1 - 59S9 ) e Fade Out Time ( 0S1 - 59S9 ) * This parameter is ignored when fade out type is 0 to 3. Please send one value of 0S1-59S9.
R = CE Program(Count) Playback Settings Function: Program (Count) Playback setting Syntax: stxCE: a, b, c, c, .... , c; a Reserved (0) b Program Playback pattern( 1 - 5 ) c Phrase number to be played back (up to 100 phrases) Example) CE:0,1,A1,A2,A3,A4,A5; This registers A0001,A0002,A0003,A0004,and A0005 into the Program Playback pattern 1. = DP Direct Playback Settings Function: Direct Playback setting Syntax: stxDP:a, b, c, ....
R < SM System Settings Function: System settings Syntax: stxSM: a, b, c, d, e, f; a Reserved (0) b Line Input select 0 Mute : Line Thru ON , Volume 0% 1 Mix : Line Thru ON , Volume 100% 2 OFF : Line Thru OFF c Channel Playback (Dual Mono mode) 0 OFF 1 ON d Control Input select 0 Normal playback : for Direct Playback 1 Last-In playback : for Direct Playback 2 Sequence playback : for Direct Playback 3 Program(Count) playback 4 Binary playback e Binary Playback Input Trigger 0 Level: Level On , Edge Off 1 Edge
R > DN Dual Mono Mode Settings Function: Dual Mono Mode setting Syntax: stxDN: a, b; a Reserved (0) b Dual Mono Mode 0 Off 1 On > LT Line Out(Thru) Settings Function: Line Out(Thru) setting Syntax: stxLT: a, b, c, d, e; a Reserved (0) b Line Thru 0 Off 1 On c Thru Volume % ( 0 - 100) d Fade Out ( 0S5 - 59S9) e Fade In ( 0S5 - 59S9) > EQ Equalizer Settings Function: Equalizer setting Syntax: stxEQ: a, b, c, d, e, f, g; a Reserved (0) b Equaizer 0 Off 1 On c Equalizer Low Gain dB ( -12 - +12 ) d Equalizer Low
R 4.2.4 Request Commands < 2Q Pattern Phrase Setting Contents Request Function: Pattern Phrase setting contents request Syntax: stx2Q: a; a Pattern Phrase number Note: This is a request for when the phrase type is pattern phrase. (* refer to PU command) > 3Q Pattern Phrase Setting Contents Request Function: Pattern Phrase setting contents request Syntax: stx3Q: a; a Pattern Phrase number Note: This is a request for when the phrase type is pattern phrase.
R = DQ Direct Playback Setting Contents Request Function: Direct Playback setting contents request Syntax: stxDQ: a; a Reserved (0) Note: refer to DP command = MQ Card Remaining Capacity Request Function: Card remaining capacity request Syntax: stxMQ; Note: refer to CR command < PQ Phrase Setting Contents Request Function1: Phrase setting contents request Syntax: stxPQ: a; a Phrase number Note: The phrase settings for the specified phrase number will be output.
R > QQ Phrase Setting Contents Request Function1: Phrase setting contents request Syntax: stxQQ: a; a Phrase number Note: The phrase settings for the specified phrase number will be output. The value of the Phrase Output Counter (described below) will not change. (* refer to the RU command) Function2: If the phrase number is not specified as a parameter, the AR-200S will output the phrase settings for automatically incremented phrase number by the Phrase Output Counter.
R = TQ Time Stamp Request Function1: Time Stamp request Syntax: stxTQ: a; a Phrase number Note: Output the recording start time information for the specified phrase. (Refer to 4.4.1 TI Command.) The AR-200S outputs an ER command for phrases in which time information is not recorded. Function2: Time Stamp request If the phrase number is not specified as a parameter, the AR-200S will output the Time Stamp information for automatically incremented phrase number by the Phrase Output Counter.
R = Xon (11H)/Xoff (13H) Allow or Disable Transmission. Used for Handshaking Function: Allow or disable transmission. Used for handshaking. Syntax: Xon is 11H only (transmission permitted) Xoff is 13H only (transmission disabled) 4.3 Commands Sent from the AR-200S to the External Device (Computer) The following two types of commands are sent from the AR-200S to an external device. In this explanation, “external device” refers to the computer. “AR” refers to the AR-200S.
R > PS Pattern Phrase Setting Output Function: Pattern Phrase setting output Syntax: stxPS: a, b, c, d, e, f, g, ....
R < SU Phrase Setting Output Function: Phrase setting output Syntax: stxSU: a, “b”, c, d, e, f, g, h, i, j, k, l, m, n, o; a Phrase number b Phrase name (up to 12 characters) c Phrase type 0 Phrase 1 Pattern Phrase 2 MIDI Phrase 3 Song Phrase d RDAC-Grade 0 Announce 1 Long 2 2 Long 1 3 Standard 4 High 5 S-High e RDAC-Mode 0 Linear 1 Mode 1 2 Mode 2 3 Mode 3 4 H-Linear f Recording Type 0 Mono 1 Stereo g Playback Volume (10 - 100) h Delay Time (0S0 - 59S9) i Repeat Playback 0 OFF 1 ON j Repeat interval (0M0S
R > RU Phrase Setting Output Function: Phrase setting output Syntax: stxRU: a, ”b”, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y; m Offset time of control output (0M0S a Phrase number 59M59S) b Phrase name n Fade In Type (up to 12 characters) 0 OFF c Phrase type 1 Time 1 0 Phrase 2 Time 2 1 Pattern Phrase 3 Time 3 2 MIDI Phrase 4 ( 0S1 - 59S9 ) 3 Song Phrase o Fade In Time ( 0S1 - 59S9 ) d RDAC-Grade p Fade Out Type 0 Announce 0 OFF 1 Long 2 1 Time 1 2 Long 1 2 Time 2 3 Standard 3 Tim
R System Settings = AC Active Sensing Reply Function: Active sensing reply Syntax: stxAC: a, b; a Status of AR-200S 0 During playback 1 During recording 2 During recording pause 3 During playback pause b Phrase number Note: During Dual Mono Mode, this is output twice. refer to the 4.2.4 AC command = CE Program (Count) Playback Setting Output Function: Program (Count) Playback setting output Syntax: stxCE: a, b, c, c, ....
R < SM System Setting Output Function: System setting output Syntax: stxSM: a, b, c, d, e, f; a Reserved (0) b Line Input select 0 Mute 1 Mix 2 OFF c Channel Playback (Dual Mono Mode) 0 OFF 1 ON d Control Input select 0 Normal playback 1 Last-In playback 2 Sequence playback 3 Program playback 4 Binary playback e Binary Playback Input Trigger 0 Level 1 Edge f Busy Output 0 All On 1 Delay On 2 Repeat On 3 All Off Note: refer to SQ command AR-200S RS-232C Reference - 32
R > SY System Setting Output Function: System setting output Syntax: stxSY: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x; j Line Thru Volume % ( 0 - 100 ) a Reserved (0) k Line Thru Fade Out ( 0S5 - 59S9 ) b Control Input select l Line Thru Fade In ( 0S5 - 59S9 ) 0 Direct playback m Equaizer 1 Program playback 0 Off 2 Binary playback 1 On 3 Binary REC n Equalizer Low Gain dB ( -12 - +12 ) 4 Interval playback o Equalizer Low Frequency c Direct playback 0 200Hz 0 Normal playback 1 40
R = VR Version Output Function: Version output Syntax: stxVR:”a”, ”b”, c; a Model name b Version c Reserved (fixed at two space characters) 4.4.2 Commands Transmitted From the AR-200 Automatically = %% Card Operation Progress Status Output Function: Card operation progress status output When a card operation is performed, this tells what percent has been completed. Syntax: stx%%: a; a Percent ( 0 - 100 ) Note: ACK output will terminate this.
R > ST Output at Finish of Playback Function: Output at Finish of Playback Syntax: stxST: a; a The number showing the channel which playback finished. 0 When Dual Mono mode is OFF 1 L Channel when Dual Mono mode is ON 2 R Channel when Dual Mono mode is ON Note: 4.4.3 Output when playback of phrases is finished and the AR is not playing any phrase.
R 3 4 5 6 7 8 9 10 20 21 100 101 202 300 301 302 304 305 306 307 309 310 311 313 314 315 320 Note: An editing command was received when the AR-200S was not in Delete mode. This error occurs if a setting/delete/record command is transmitted while the write protect switch of the card is ON. This error occurs when the total number of phrases specified by the PA, PU, or CE commands exceeds the maximum value (100), or when the specified parameter value is outside of the limit of the maximum value.
R Section5 Appendix 5.1 AR-200S Commands List 5.1.
R Xon(11H)/Xoff(13H) Allow or disable transmission type0 # Commands sent from the AR-200S to the external device # Setting Output Commands CS Card Set Card setting output Phrase Settings PU Pattern phrase set Up Pattern phrase setting output SU phrase Set Up Phrase setting output System Settings AC ACtive Active sensing reply CE Count playback sEt up Program(Count) playback setting output CR Card Remain Card remaining capacity output DP Direct Play Direct playback setting output SM SysteM System setting
R 5.1.
R # Commands sent from the AR-200S to the external device # Setting Output Commands Phrase Settings PS Pattern phrase Set up Pattern phrase setting output SS Song phrase Set up Song phrase setting output RU phRase set Up Phrase setting output # System Settings SY SYstem System setting output # Commands Transmitted From the AR-200S Automatically ST STop Output at Finish of Playback type2 type2 type2 type2 type2 Caution1: STX(02H) is attached to top of the command, and some commands has parameters with it.
R 5.3 Sample Algorithms The following are some examples of processing algorithms. 5.3.1 Playing Back a Phrase *1 Refer to the error number to determine the cause. Is the command format incorrect? *2 “ACK” will be output if the AR-200S correctly recognizes the command. Note: - You can check the operating status by transmitting the “ AC “ command. - You can stop playback by transmitting the “ ST “ command.
R 5.3.2 Recording ( Nomal Recording ) *1 Setting such as RDAC-Grade and RDAC-Mode are made by “ RM “ command parameters. Note: - You can check the operating status by transmitting the “ AC “ command. - You can stop recording by transmitting the “ ST “ command.
R 5.3.3 Recording ( Time-Stamped Recording) *1 Setting such as RDAC-Grade and RDAC-Mode are made by “ AE “ command parameters. Note: - You can check the operating status by transmitting the “ AC “ command.
R 5.3.4 Verifying the Parameters (Data Settings) of All Phrases Starting with the Lowest-Numbered Phrase *1 What is the Phrase Output Counter? The AR-200S has an internal counter for phrase output. When a phrase is output, the phrase that corresponds to the AR-200S's counter will be output. The maximum value will be the highest phrase number of each card. This will be reset by the AQ command (to the lowest phrase number).
R 5.3.5 Deleting a Phrase *1 The AR-200S will return the same “ PD “ command for confirmation. *2 By transmitting “stxER:1:” you can exit Delete mode.