Townshend Computer Tools DAT-Link User Manual

Table of Contents

Advertisement

Quick Links

DAT-Link
DAT-Link
/
+
User's Manual
Townshend Computer Tools, Inc.
10 Ontario West, Suite 502
Montr e al, Qu e bec, Canada
H2X 1Y6
514-289-9123
datlink@tc.com
Revision 2.28
June 13, 1997

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DAT-Link and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Townshend Computer Tools DAT-Link

  • Page 1 DAT-Link DAT-Link User's Manual Townshend Computer Tools, Inc. 10 Ontario West, Suite 502 Montr e al, Qu e bec, Canada H2X 1Y6 514-289-9123 datlink@tc.com Revision 2.28 June 13, 1997...
  • Page 2 Copyright 1991-1995 Townshend Computer Tools, Inc. DAT-Link DAT-Link +, and NetAudio are trademarks of Townshend Computer Tools DEC, DECstation, and Ultrix are trademarks of Digital Equipment Corporation. RISC/6000 and AIX are trademarks of IBM. Sun-3, Sun-4, SPARC, SunOS, and Sun Workstation are all registered trademarks of Sun Microsystems, Incorporated.
  • Page 3 DAT-Link DAT-Link User's Manual Ariel Corporation 433 River Road Highland Park, NJ 908-249-2900 Revision 2.28 June 13, 1997...
  • Page 4 Copyright 1991-1995 Townshend Computer Tools, Inc. DAT-Link DAT-Link +, and NetAudio are trademarks of Townshend Computer Tools DEC, DECstation, and Ultrix are trademarks of Digital Equipment Corporation. RISC/6000 and AIX are trademarks of IBM. Sun-3, Sun-4, SPARC, SunOS, and Sun Workstation are all registered trademarks of Sun Microsystems, Incorporated.
  • Page 5: Table Of Contents

    : : : : : : : : : : : : : : : : : : : : 2.7 Testing the DAT-Link : : : : : : : : : : : : : : : : : : : : : : : : : : 2.7.1 Testing the Connection to the Computer...
  • Page 6 CONTENTS 3 NetAudio Server 3.1 Starting the Server : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3.2 Setting up to Run Client Programs : : : : : : : : : : : : : : : : : : : 3.3 Programs that Bypass the Server : : : : : : : : : : : : : : : : : : : :...
  • Page 7: Contents

    : : : : : : : : : : : : : : : : : : : : 10.5 Checking the DAT-Link's Filters : : : : : : : : : : : : : : : : : : : : 10.6 Interactive Playback of Multiple Files...
  • Page 8 CONTENTS A Troubleshooting A.1 No Communications with DAT-Link : : : : : : : : : : : : : : : : : : A.2 Device Busy Errors : : : : : : : : : : : : : : : : : : : : : : : : : : : : A.3 DAT Distribution Tape Problems...
  • Page 9: Contents

    CONTENTS NARECORD : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : NARECSEG : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : NASET : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : NASTATUS...
  • Page 10 CONTENTS...
  • Page 11: Introduction

    Chapter 1 Introduction DAT-Link You have just purchased , the ultimate digital audio solution for worksta- DAT-Link tions. provides a bridge between your computer and high-quality audio DAT- equipment|DAT, CD, MD, DCC< converters, processors, and other devices. Link can be used to play back and record sound les from your workstation or as an instrument in producing audiophile recordings.
  • Page 12: About This Manual

    Introduction Network Compatible: DAT-Link The NetAudio software included with the pro- DAT-Link vides access to the 's functions from anywhere on a local area net- work. DAT-Link In addition to the above, + adds the following features: DSP-Port: DAT-Link This connector allows the +'s DSP32C signal processor to be connected to external equipment for general purpose DSP applications.
  • Page 13: Installation

    Chapter 2 Installation 2.1 What Comes with the DAT-Link DAT-Link The box containing the should have contained the following items: DAT-Link main unit. An external power supply. The remote transmitter unit. A SCSI terminator. DAT-Link A cartridge or DAT tape containing the software.
  • Page 14: Hardware Connection Summary

    Installation 2.3 Hardware Connection Summary The following is a short summary of the steps needed to connect and con gure the DAT-Link . Following sections will expand on these steps and provide information DAT-Link on using the with speci c computers. DAT- 1.
  • Page 15: Sun Microsystems

    2.4 Machine Speci c Instructions DAT-Link DAT-Link sections, the will probably work ne|consult your supplier for details. 2.4.1 SUN Microsystems Manufacturer: SUN Microsystems Models: SPARCStation 1, 1+, 2, IPC, IPX, SLC, ELC, 10, 4/470, LX Operating System: SunOS 4.1, 4.1.1, 4.1.2, 4.1.3; Solaris 2.0, 2.1, 2.2, 2.3, 2.4...
  • Page 16 Installation DAT-Link Make sure the Options switches on the rear of the are set with all switches DAT-Link down. Then connect the to the computer using the SCSI cable. If the DAT-Link is the last device on the SCSI bus, be sure to connect the provided SCSI...
  • Page 17 2.4 Machine Speci c Instructions st0 at si0 slave 32 st1 at si0 slave 40 st2 at si0 slave 24 st3 at si0 slave 16 number above is 8 times the SCSI ID. Thus is at SCSI ID 4, slave at SCSI ID 5, is at SCSI ID 3 and is at SCSI ID 2.
  • Page 18: Digital Equipment Corporation, Decstation

    Installation DAT-Link Connect and power-up the with the chosen SCSI ID set on its switch. Boot the workstation using the command. This will recon gure the boot -r machine for all connected devices. After the computer has booted the system will have created a new device le...
  • Page 19 If you have trouble rebooting, verify that DAT-Link the SCSI ID selected on the was not one that was already in use. As the computer starts , you should see a line similar to: UNIX tz4 at sii0 slave 4 (TZxx) [TCT DAT-Link 1420]...
  • Page 20: Digital Equipment Corporation, Decstation

    Installation DAT-Link This above line shows that the system found the at SCSI ID 4. If you DAT-Link have con gured the with a ID other than 4, you should see the selected value in the above message. Con guring the Device Drivers The computer must now be informed that a new device has been installed.
  • Page 21 DAT-Link terminator between the cable and the 's SCSI connector. Failure to do so can cause problems with rebooting the DECstation. Once you have chosen an ID and connected the DAT-Link, rerun the command to verify that show devices DAT-Link the computer can communicate with the Once it is hooked up and powered on you can reboot the computer.
  • Page 22: Hewlett-Packard

    The number following the \tz" name above is a combination of the SCSI bus number (either 0, 1, and so on) and the device's target ID number. The unit number is DAT-Link eight times the bus number plus the target ID. For example, a...
  • Page 23 SCSI ID selected on the was not one that was in use. Con guring the Device Drivers First, you should verify that system can properly see the DAT-Link. The ioscan can be used for this and should contain some output similar to: 10/16...
  • Page 24: Ibm Risc Systems/6000

    Installation type, choice of slots or ID's, or con guration will result in slightly di erent listing. The important thing is the presence of a tape device reported as an HP35450A. DAT-Link This is really a emulating an HP tape device. /dev/rmt The next step is to create a device le in the directory.
  • Page 25 2.4 Machine Speci c Instructions Choosing a SCSI ID DAT-Link Before connecting the , you need to check which SCSI ID's are already in root use on your system. To do this, you need to login as and run the IBM system...
  • Page 26 Installation DAT-Link between the cable and the 's SCSI connector. Once it is hooked up and powered on you can reboot the computer. If you have trouble rebooting, verify that DAT-Link the SCSI ID selected on the was not one that was already in use.
  • Page 27: Solbourne

    Before command completion, additional instructions may appear below. rmt1 available rmt1 available rmt1 DAT-Link The line indicates that the has been con gured as rmt0 Your computer may indicate a di erent unit number for the device, such as rmt2...
  • Page 28 Installation Choosing a SCSI ID If you are using the standard software as supplied by Solbourne, then SCSI ID's 4 DAT-Link and 5 are reserved for tape drives, or devices such as the . If you already have a tape drive connected to your machine, check its SCSI ID setting which should DAT-Link be either 4 or 5.
  • Page 29: Sony News Workstations

    NWS-1720, NWS-5000 Operating System: NEWS 4.2c Cables Required DAT-Link To connect the Sony with the you will require a cable with 50 pin Cen- tronics type connectors on both ends. This may also be called a SCSI-1 cable. It should be available from your Sony hardware supplier or can be ordered from your DAT-Link supplier.
  • Page 30: Silicon Graphics

    Installation Once it is hooked up and powered on you can reboot the computer. If you have DAT-Link trouble rebooting, verify that the SCSI ID selected on the was not one that was in use. Con guring the Device Drivers /dev...
  • Page 31 50 pin Centronics type connector on the other end. This may also be called a SCSI-1 to SCSI-2 cable. It should be available from DAT-Link your SGI hardware supplier or can be ordered from your supplier (CB- MICROD).
  • Page 32 Installation that was in use. The listing should now include a line such as: hinv Tape drive: unit 5 on SCSI controller 0: unknown DAT-Link DAT-Link if the is properly connected. In this example, the was con- nected at SCSI ID 5.
  • Page 33: Ibm Pc And Compatibles

    2.4 Machine Speci c Instructions DAT-Link The above assumes that the resides at SCSI ID 5, on SCSI bus 0. If another ID was used, replaced the '5' in 'tps0d5nr' above with the appropriate number. If a di erent bus is used, replace the '0' above by the appropriate bus number.
  • Page 34 ASPI4DOS As the computer starts, if you are using , you should see a line similar Target 4 TCT DAT-Link 1638 DAT-Link This above line shows that the system found the at SCSI ID 4. If you...
  • Page 35 There is no Comdisco SPW or Entropic ESPS support under DAT-Link User programs that access the , should link in 'lndirect.lib' instead of 'libnetaudio.a' as described in the manual. may run out of memory under some conditions.
  • Page 36: Next

    NeXT Operating System: Mach 2.0 Cables Required DAT-Link To connect the NeXT with the you will require a cable with a high- density 50 pin D connector on one end and a 50 pin Centronics type connector on the other end. This may also be called a SCSI-1 to SCSI-2 cable. It should be...
  • Page 37: Other Unix-Based Computers

    /dev datlink0 Next, you need to create a device in the directory called . If you DAT-Link used SCSI ID 4 for the , you just need to link the standard tape drive datlink0 device to ln -s /dev/nrst0 /dev/datlink0...
  • Page 38: Connecting To A Digital Audio Device

    Installation 2.5 Connecting to a Digital Audio Device DAT-Link Now that the is connected to your computer, you need to make the DAT-Link other half of the connection|between the and a digital audio device. This will usually be a Digital Audio Tape (DAT) recorder, but you can also connect...
  • Page 39: Software Installation

    2.6 Software Installation DAT-Link software will then allow you to select the input source from the computer. It is important to realize that there are subtle di erences in the control information that is sent along with the audio data on these di erent connectors. The two...
  • Page 40 /bin/sh /tmp/dldist You should then see the message: DAT-Link Source Installation ---------------------------- which will be followed after a few seconds by: Finished extracting sources.
  • Page 41 2.6 Software Installation Installation Steps (DAT-Link): DAT-Link Older models of the require a slightly di erent set of steps to extract the distribution software from DAT tape: DAT-Link 1. Change directory to the location where you want the sources in- stalled. See section 2.6.1 above for assistance in choosing an appropriate directory.
  • Page 42: Con Guring The Installation

    For all requests, a default response will be displayed, enclosed in square brackets. To accept the defaults just press return. Enter the directory to install the DAT-Link programs [/usr/local]: DAT-Link At this prompt, enter the directory where you want the programs ultimately installed.
  • Page 43: Installation From Cartridge Or Dds Dat Tape

    Install You will then given the choice of answering the con guration questions again or using the existing con guration. DAT-Link Once the installation has complete, the should be ready for operation. INSTALLROOT /bin To use the programs, should be added to your path if is not already present.
  • Page 44: Dos Software Installation

    Installation 2.6.4 DOS Software Installation DAT-Link This section describes how to install the source software from diskettes for use on a personal computer. To extract software requires approximately 4 Mbytes of free space. The software can be installed in the directory of your choice.
  • Page 45: Testing The Dat-Link

    2.7 Testing the DAT-Link 2.7 Testing the DAT-Link DAT-Link There are three test programs included with the software, one for testing the connection to the computer, another for testing the remote control functions, and a third for testing the digital audio inputs and outputs.
  • Page 46: Testing The Infrared Remote Control

    Installation As can be seen above, this test also provides some extra information about the DAT-Link . The second line above, shows the amount of free memory available in DAT-Link for bu ering audio data. At 48,000 samples per second, stereo, 2 bytes per sample, the indicated memory would allow up to 5 seconds of bu ering.
  • Page 47: Testing The Digital Audio Connections

    4. During the test, the red light on the top of the transmitter should ash. After a few seconds the output of the computer should look something like this: Aim DAT-Link remote transmitter at DAT-Link sensor.***..* Loopback Passed If this test fails, make sure that the remote transmitter is properly connected and...
  • Page 48 Installation If any error conditions are indicated, check that the loopback cable is properly connected, and make sure that the cable is not damaged. If errors persist contact DAT-Link your supplier. The AES/EBU digital input/output can be similarly tested using:...
  • Page 49: Netaudio Server

    X Window System's server/client approach to providing graphical display services. The server for NetAudio provides the following functions: Management of low-level communication with the DAT-Link. Communication with clients on both the local host and other hosts connected via a local area network.
  • Page 50: Starting The Server

    If all goes well, there will be no output from this program and it will exit immediately after initializing. However a subprocess will have been created which will manage communications with the DAT-Link. If there are any errors during the operation of , they will be logged using the system error logging facilities (...
  • Page 51: Setting Up To Run Client Programs

    nd the server. One way to do this is to set the environment variable, , to the string host:unit where host is the name of the host AUDIO DEVICE DAT-Link on which the NetAudio server is running, and unit is the unit number of...
  • Page 52: Programs That Bypass The Server

    Another way to specify which server to connect to is to use the option available in each NetAudio client program. Setting this option overrides any value set for DAT-Link . For example, to check the version connected to host AUDIO DEVICE...
  • Page 53: Command Summary

    Parameter setting (gain, pause, etc.) 10.3 naset Playback of multiple les 10.6 xnaplay Acquisition of lter responses 10.5 nagetfilter Loopback testing of DAT-Link 2.7.3 naloop Display hardware & software versions Yes 10.1 naversion Load user DSP programs 10.4 naloaddsp Remote control Remote control training and testing 8.1,2.7.2...
  • Page 54 Command Summary For recording and playback using a DAT machine, the following table summarizes the required settings for various functions. Note that if the AES/EBU output is used, then the program must be executed with the option. naplay NetAudio Function Tape Input Source State...
  • Page 55: Playback Tutorial

    Chapter 5 Playback Tutorial DAT-Link One of the main functions of the is to playback audio data from one or more disk les for listening or for transfer to a digital audio tape. In either case the commands used are the same; the only di erence is the settings of the digital audio...
  • Page 56: Listening To A File Without Recording

    le containing the audio data. In this form, naplay identi es the type of the le using some heuristics and interprets any header present DAT-Link to set up the parameters. If the le type is not recognized,...
  • Page 57: Stereo Or Mono

    5.4 Stereo or Mono whether problems in playback are due to the connections between the host computer DAT-Link and the or in the connection to the digital audio equipment. DAT-Link On the +, there are a number of additional front-panel indications. The top Left and Right Level LED's indicate when the playback level exceeds -1 dB relative to full-scale.
  • Page 58: Repeating A Passage

    Playback Tutorial The playback time, in seconds, can be set using the option. For example, to playback the rst 5 seconds of a le use: naplay -t 5 file Note that the option can not be used with the option. If neither option is given, playback will continue until the end of the le.
  • Page 59 S or R: Select the SPDIF (IEC Type II) input as the clock source. Select the ber-optic input as the clock source. DAT-Link Use the Word Clock or Sync connector on the rear of the as the source for the sampling clock.
  • Page 60: File Sampling Rate

    If the le stored on the computer is not at the same sampling rate as that which will be used by the DAT machine, a sampling-rate conversion operation must be DAT-Link performed. This is done automatically in real time by the using its built-in digital signal processor.
  • Page 61: Playing Multiple Files

    5.9 Playing Multiple Files For example, the command: naplay -e ieee file plays back a le of oating point numbers. For the linear encoding, the number of bits/sample can also be speci ed using the option. To playback a le containing 20-bit samples use: naplay -p20 file Note that the data is assumed to be packed such that every pair of samples will...
  • Page 62: Channel Status And User Bits

    , and options are not available when standard input is used. 5.11 Channel Status and User Bits DAT-Link In addition to audio data, the connection between the and the digital audio equipment also carries some additional information known as channel status bits and user bits .
  • Page 63: Bu Ering Of Audio Data

    5.13 Bu ering of Audio Data 5.13 Bu ering of Audio Data DAT-Link This section describes how the bu ers audio data internally. This in- formation may be useful in some interactive applications where it is important to control latencies when sound les are played back. It may also be necessary to modify the bu er settings to avoid underrun errors when transferring audio les across a network.
  • Page 64 .datlinkrc following line to your le: phplay.Resampler.filter.resp*: 0@-90,400@0,3400@0,4000@-90 This option will be used only when the play program is invoked with the name . Other options can similarly be used to create other customized versions of phplay DAT-Link programs.
  • Page 65: Recording Tutorial

    Chapter 6 Recording Tutorial DAT-Link This chapter describes how to use the to capture audio onto a disk le on your computer. The audio data may come from a DAT machine, a CD player, or any DAT-Link other audio device connected to one of the 's digital audio inputs.
  • Page 66: Making A Live Recording

    Recording Tutorial Make sure the NetAudio server is running on the machine which has the DAT-Link . See Section 3.1 for details. Insert the CD into the CD player. Run the program on the computer as described below. narecord Start the CD playing.
  • Page 67: Running The 6.3 Front Panel Indications

    6.2 Running the Program narecord 6.2 Running the Program narecord DAT-Link program allows you to transfer audio data from the to a narecord disk le. It has numerous options, but in its simplest you may simply type: narecord file where is the name of a le containing the audio data.
  • Page 68: Stereo Or Mono

    Recording Tutorial option are: Select the AES/EBU input connector as the source. Select the SPDIF (IEC Type II) input as the source. SPDIF Select the ber-optic input as the source. FIBER The above choices may be abbreviated to a single character. If the option is not provided, then the SPDIF input is used.
  • Page 69: Dat Sampling Rate

    6.8 Skipping Silence 6.7.1 DAT Sampling Rate DAT-Link can accept audio input sampled at any rate between 25,000 and 55,000 samples per second. Since the data is generated by the digital audio device, DAT-Link this rate is not controlled by the .
  • Page 70: File Formats

    Recording Tutorial 6.9 File Formats In the above sections we have assumed the le being stored contains just audio data stored as 16 bit signed integers. This default is called the format. Other formats are available by using the option followed by a format name. A full list of possible formats can be display at any time by typing: narecord -f help Appendix B.1 describes the encoding of each format.
  • Page 71: Channel Status And User Bits

    6.11 Channel Status and User Bits DAT-Link In addition to audio data, the connection between the and the digital audio equipment also carries some additional information known as channel status bits and user bits . By default, discards this information.
  • Page 72: Bu Ering Of Audio Data

    Bu ering of audio data was described in Section 5.13 with respect to the naplay program. The e ects of the bu ering are somewhat di erent when recording audio DAT-Link data from the . Unlike playback, the internal bu ering has no visible e ect on recording in terms of delays or latencies.
  • Page 73: Speech Segmentation

    Section 5.14 for the program. naplay 6.15 Speech Segmentation DAT-Link When the is used to record or transfer speech speech signals, it is often desirable to segment the speech into words or segments. A front-end program for program called provides this function.
  • Page 74 Recording Tutorial...
  • Page 75: Sampling Rate Conversion

    Chapter 7 Sampling Rate Conversion DAT-Link provides real-time conversion during recording or playback between the sampling rate used on the digital audio I/O's and any rate requested by the user. Based on the requested rates, the software dynamically creates a conversion...
  • Page 76: Speci Cations Of Some Example Converters

    le. For example, adding the line: naplay.filter*: 0@-90,100@0 would use a 100 Hz high-pass lter whenever is used for output to the naplay DAT-Link Di erent lters can be speci ed for di erent sample rate conversions by using an option name of the form: pgm.filter.irate.orate...
  • Page 77 Note that ltering is performed only if sample-rate conversion is necessary. If no sample-rate conversion is required, the exact samples are passed between the host computer and the digital audio device. DAT-Link input to the sampling rate converter, not necessarily input to the...
  • Page 78: Stopband Attenuation

    Sampling Rate Conversion -100 -120 1000 1500 2000 2500 3000 3500 4000 4500 5000 Frequency (Hz) Figure 7.1: Measured Response Obtained with User-Speci ed Filter 7.3 Stopband Attenuation Independently of whether the option is used, the default stopband attenu- filter .datlinkrc ation of 90 dB can also be changed in the le, as in: *filter.stopband.atten: 60...
  • Page 79: Remote Control

    Chapter 8 Remote Control DAT-Link The digital audio connections between the and a DAT machine or other digital audio device do not provide control over the machine. To allow the user DAT-Link to control devices, the provides a universal remote control system, con- sisting of an infrared sensor and transmitter.
  • Page 80: Using The Remote Control

    Remote Control . Note that this program does not use the NetAudio server, it communicates rctrain DAT-Link directly with the . Thus, must be run on the same machine that rctrain DAT-Link is connected to the . Also, if the NetAudio server,...
  • Page 81 8.2 Using the Remote Control Table 8.1: Recommended Remote Control Function Names Command Function Stop Stop the DAT machine Play Enter play mode Pause Pause or release pause Record Enter record mode Rewind Rewind tape Fast-forward tape Skip Fwd Skip forward to next track Skip Rev Skip backward to previous track Numeric entry...
  • Page 82: Es-Bus Remote Control

    Note that the case of the command names is not important. 8.3 ES-Bus Remote Control Some DAT machines, notably the Panasonic SV-3900, have a serial remote control DAT-Link based on the ES-Bus protocol. This device can be controlled by the using the command. This provides comprehensive control over multiple sv3900 DAT machines as well as extensive status monitoring.
  • Page 83: Using Multiple Dat-Links

    Chapter 9 Using Multiple DAT-Links DAT-Link Multiple devices may be connected to a single computer to provide more than 2 channels of audio input and output by using di erent SCSI ID's for each DAT-Links device. Up to 7 can be placed on a single SCSI bus if no other devices are DAT-Links present.
  • Page 84: Synchronization

    In these cases only the start-time synchronization is required. Note, however, that if the sample-rates of multiple units are not locked, it is not possible to align the start-time with accuracy greater than plus or minus one sample. DAT-Link DAT-Link Since the digital audio inputs to the are self-clocking, the cannot enforce sample-rate synchronization during recording.
  • Page 85 9.1 Synchronization Connecting the External Clock DAT-Link The external clock is an external device used to synchronize 2 to 6 units. It has 6 identical connectors on its back panel that can be wired to the DAT-Link + units with the provided cables. It is powered by tapping one of the DAT-Link + s power supply.
  • Page 86: Synchronization With Dat-Link Versions Prior To 1.6

    le0 le1 only after the fourth line is executed and the playback of begin simultaneously. DAT-Link To record from two +'s with the recordings starting simultaneously, the following commands can be used: narecord -u :0 file0 & narecord -u :1 file1 Note that since the data is self-clocking, only start-time synchronization is per- formed in this case.
  • Page 87: Multiple Unit Recording

    DAT machine to lock onto the signal. DAT-Links The same method can be used to synchronize recordings from multiple DAT-Link This version always outputs a zero on its digital output just before beginning a recording.
  • Page 88 SPDIF inputs. The data is inter- test leaved, sample-by-sample, and stored in the le . The data is self-clocking, so only the start-time synchronization is performed in this case. DAT-Link DAT-Link Although can used with any model , only the...
  • Page 89: Multiple Unit Playback

    The block-interleaved is preferable as it results in signi cantly less CPU load since no reorganization of data is required by the host CPU. Synchronization of the multiple units requires that the Sync connectors of each DAT-Link of the +'s are wired to an external clock as described in section 9.1.1.
  • Page 90 Using Multiple DAT-Links...
  • Page 91: Utilities

    Chapter 10 Utilities 10.1 Checking the Software and Hardware Revi- sion Numbers DAT-Link In the event that you have diculty with the or require support, you should rst check the revision of the software and hardware that you have. This...
  • Page 92 Utilities DAT-Link: Version 1.6/38 DSP Program: TS15 SIOMode: AES/EBU (0xa) Playback Record Time = 0:53 Time = 0:00 Left VU |*********** Left VU Right VU |*********** Right VU Buffering |********************| Buffering |********************| Sampling rate = 8000->48000 Sampling rate = 48000...
  • Page 93 Each '*' represents a 6 dB step in level. Levels that will result in clipping are represented by '+' marks. Bu ering DAT-Link This indicates the utilization of the 's internal bu er. When playing a le, an underrun error will occur if the bu er empties completely, thus having close to a full bu er, as shown in Figure 10.1, is desirable.
  • Page 94: Controlling Netaudio Server Parameters

    The screen must have at least curses(3) 24 rows and 80 columns for proper display. 10.3 Controlling NetAudio Server Parameters DAT-Link Various parameters of the and the NetAudio server can be set using client program. This program can be used whether or not recording naset or playback is currently underway | the changes take e ect immediately.
  • Page 95 10.3 Controlling NetAudio Server Parameters AES/EBU: DAT-Link This is the normal mode for the . With this setting, the DSP32C's serial port is connected to the digital audio inputs and outputs. AES/EBU-Override: This is the same as the previous mode except that DAT-Link +, version 1.6 or later will not wait for other devices con-...
  • Page 96: Downloading Dsp32C Programs

    The name of the currently loaded DSP program can also be checked using the option to naloaddsp naloaddsp -q 10.5 Checking the DAT-Link's Filters DAT-Link When the is used for sample-rate conversion, it must perform some low- pass digital ltering to eliminating aliasing during the conversion process. Also, custom lter responses can be speci ed for equalization, notch ltering, and other special applications.
  • Page 97: Interactive Playback Of Multiple Files

    The rst line contains the sampling rate of the discrete-time lter's impulse re- sponse. The remaining lines are the values of the sampled impulse response. This DAT-Link impulse response completely characterizes the 's lters. It can be used as input to other analysis programs or custom software to derive the frequency re- sponse of the system.
  • Page 98 Utilities Magnitude Response -100 Frequency (Hz) Frequency (Hz) Figure 10.2: Frequency Response Captured using nagetfilter Figure 10.3: Control Panel Generated by xnaplay...
  • Page 99 10.6 Interactive Playback of Multiple Files If it is desired to have certain options passed to for all of the listed les, naplay then the option to can be used. The arguments to this option is a set of xnaplay additional options.
  • Page 100 Utilities...
  • Page 101: Third Party Support

    Chapter 11 Third Party Support 11.1 User Interfaces DAT-Link software includes support for third-party software that provide gen- eral signal processing functionality and/or graphical display and editing of wave- forms. There are two parts to these interfaces: Ability to read/write data les in formats that allow them to be used with the other software.
  • Page 102 DAT-Link Controls . This panel is shown in Figure 11.1. Also, the normal popup menus, accessed from the third mouse button, DAT-Link will be modi ed to use the for playback of les.
  • Page 103 11.1 User Interfaces Figure 11.2: Setting up Recording from the DAT-Link...
  • Page 104 le. Instead, the le name will have a digit appended to it to make it unique. The nal button on the DAT-Link Controls panel is Transport Controls . Clicking on this button creates a new window, similar to that shown in Figure 11.3. Clicking on any of the buttons in this new panel will perform the indicated function on the DAT machine.
  • Page 105 11.1 User Interfaces (800)446-0028 (202)547-1420 FAX: (202)546-6648...
  • Page 106: Comdisco Systems Spw

    Values in the le header will be lled in with appropriate values. Using the from SigCalc DAT-Link Comdisco's Signal Display Editor (SigCalc) provides graphical waveform display and editing using the X Window System. This optional software is installed only if the Comdisco support option was selected during the software installation. In addition, you will need to perform some additional steps to inform SPW of the existence of the new user functions.
  • Page 107: Development Software

    11.2 Development Software DAT-Link Figure 11.4: Setting up the library in mfileman the infrared remote control. For more information about SPW, you should contact Comdisco Systems directly Comdisco Systems Inc. 919 E. Hillsdale Blvd. Foster City, CA 94404 Phone: (415)574-5800 FAX: (415)358-3601 11.2 Development Software...
  • Page 108 Third Party Support DAT-Link Figure 11.5: Comdisco System's SigCalc with menus.
  • Page 109: Hardware

    11.3 Hardware 11.3 Hardware DAT-Link + can be used with external hardware connected via its DSP-Port as described in Section C.1. This includes most hardware that is designed to work with the NeXT DSP-Port or with the DSP-Port found on Ariel Corp's digital signal processing boards.
  • Page 110 96,000 Pro96 External Pro-Int naset -s Pro48 DAT-Link to con gure the + for input and output to the ProPort at 48,000 samples/second. If a di erent sampling rate is required, use the appropriate entry from Table 11.1 instead of . The last setting in Table 11.1 indicates...
  • Page 111 11.3 Hardware Ariel Corporation 433 River Road Highland Park, NJ 08904 (908)249-2900 FAX: (908)249-2123...
  • Page 112: Teac Data Dat Recorders

    48,000 samples/second or 8 channels of data a sampling rates of 12,000 or 24,000 samples/second. Other models of TEAC recorders may be com- DAT-Link patible with the +. However, since only the RD135T and RD145T have been extensively tested, operation with other decks may be limited.
  • Page 113 11.3 Hardware naset -s GPDelay-Ext naloaddsp GP16 DAT-Link The rst of these two commands con gures the + to use the DSP-Port DAT- for input and output. The second commands loads a special program into the Link + to handle transfers to and from the RD1x5T. Note that if you wish to return...
  • Page 114 Third Party Support NetAudio also includes a program which can be used to interpret the side infor- mation transferred from the RD1x5T, such as the real time, channel con guration, input levels, and the voice memo channel. This program, , is described in teacin detail in Appendix G.
  • Page 115 Transferring Data to the RD1x5T Data can also be transferred from a host computer to the RD1x5T for recording DAT-Link onto tape . To set the RD1x5T to accept 16-bit input from the...
  • Page 116 Third Party Support 1. Set the RD1x5T for 16-bit digital mode as described above. 2. Start the RD1x5T recording. 3. Run on the host. naplay music 4. After exits, the DAT machine can be stopped. naplay Note that while data is being sent to the RD1x5T, a small decimal point will ash to the right of the number 16 displayed on the VU meter.
  • Page 117 11.3 Hardware DAT-Link two bits of data from the + are ignored and replaced with the current real-time, voice memo, and other side information. This mode can be used to store multi-track digital data onto a tape. The only proviso is that the TEAC must be setup for the same number of channels and speed as the data uses.
  • Page 118 Third Party Support...
  • Page 119: Subroutine Library

    Chapter 12 Subroutine Library DAT-Link In addition to to the programs described in the previous chapters, also comes with an extensive programmer's library that can be used to write your own programs. To use the library functions from a C program, you need to include netaudio.h...
  • Page 120 NAinfo info; /* Initialize '.datlinkrc' processing */ InitDefaults(argv[0]); /* Fill 'buffer' with 'samples' samples of audio data */ /* Open connection to DAT-Link server */ port = NAOpen(0); NAGetDefaultInfo(&info); /* Set sampling rate to 8000 samples/second */ info.playback.sampleRate = 8000;...
  • Page 121 le in your program to declare a prototype for the InitDefaults() subroutine. DAT-Link As more control over the 's modes and settings are required more of the library functions will be needed. Since source code is provided for both the NetAudio library functions and the user programs, looking at the code for some of the programs may help in understanding what functions should be called and when.
  • Page 122 Subroutine Library...
  • Page 123: A Troubleshooting

    UNIX Thus, the messages reported may not exactly match the examples given below. A.1 No Communications with DAT-Link If you run into trouble loading the DAT tape or running for the rst time dltest after installing the software, the following items may help point out the problem.
  • Page 124: Device Busy Errors

    Error receiving message from DAT-Link However, note that if the DAT-Link is set to the same SCSI ID as a disk drive or other peripheral connected to the computer, unpredictable behavior may possible damage to disk contents result, including A.2 Device Busy Errors...
  • Page 125: Problems With Training (Rctrain)

    A.4 Problems with Training (rctrain) DAT-Link Is the LOCK LED on the front of the on? If not, there is a problem DAT-Link with the connection between the and the DAT machine. DAT-Link Does the SCSI ID set on the...
  • Page 126: Troubleshooting

    For example, the standby button on many remote controls is often implemented by sending a record command followed by a pause command. When DAT-Link using the , you will need to train the two commands separately. You can...
  • Page 127: B File Formats

    Appendix B File Formats B.1 Audio Data File Formats The following sections describe the audio data le formats used by the naplay programs. Note that information stored in these le formats may be narecord used for some of the default settings of the program, such as sampling rate.
  • Page 128: Native

    These formats will only be available if the SPW system is present on the host computer. See the notes in Section 2.6.2 for instructions on building the software DAT-Link which integrates SPW with the . Any type SPW le except for packed, xed-point les with other than 16 bits/sample may be played using this format, but only 16-bit linear-encoded data may be recorded.
  • Page 129: Sppack

    The sample-interleaved format stores the data packed, most-signi cant-bit rst, with no header, and the samples organized as follows: (B.1) : : : L DAT-Link where is the -th left sample from + unit...
  • Page 130: Segmentation File Format

    An example le with three segments is shown below: /tmp/audio.dat 3210 4117 9511 10145 14871 20214 B.3 Con guration File (.datlinkrc) DAT-Link Many of the options available in the programs can be controlled by two DATLink.Defaults con guration les. The rst is a system-wide le, , stored in...
  • Page 131: Remote Control Files

    B.5 Remote Control Files This section is intended for users that have unusual requirements for the remote DAT-Link control subsystem of the . Normally, the interface provided by are all that is needed to train and control devices.
  • Page 132: Editing The Remote Control Descriptions

    \-1". The on and o times are in units of 125 microseconds. B.5.2 Editing the Remote Control Descriptions DAT-Link One limitation of the 's remote control system is that is not able to determine the carrier frequency of the remote control during training.
  • Page 133 It is also possible to create a remote control description manually for use with a device that has a serial remote control. The remote connector on the rear of the DAT-Link can then be directly connected to the device using a custom-built cable.
  • Page 134 File Formats...
  • Page 135: C Connectors

    Appendix C Connectors DSP-Port DAT-Link The DB15 connector on the rear of the +, labelled DSP-Port , provides access to the DSP32C's serial I/O port. This is similar, but not identical to the DSP Port found on NeXT computers. The NeXT DSP Port is de ned in terms of the serial I/O found on the Motorola 56000 digital signal processor used in the NeXT.
  • Page 136: Sync

    Connectors Table C.1: DSP-Port Pinout Pin Number NeXT Pin Name DSP32C Connection(s) Direction Bidirectional DAT-Link DAT-Link From DAT-Link SCLK PC[2] From DAT-Link From DAT-Link From DAT-Link PC[1] From DAT-Link From DAT-Link PC[0] From +12V -12V 9-11,15 Ground Ground Bidirectional Bidirectional...
  • Page 137 Sync Table C.2: Sync Pinout Pin Number Connection(s) Direction DAT-Link From DAT-Link DSPIN DAT-Link DSPOUT From READY Bidirectional Bidirectional Bidirectional FSYNC Bidirectional Ground in Section 10.3. is a word clock with a high level during the left sample and a FSYNC low level during the right sample.
  • Page 138 Connectors...
  • Page 139: D Digital Audio Devices Supported

    Appendix D Digital Audio Devices Supported DAT-Link is designed to support any digital audio device which uses one of the three standard digital audio interconnects: AES/EBU, SPDIF, or Fiber-optic interconnect. If your DAT machine, CD player, MD, DCC, or other equipment...
  • Page 140 DAT Panasonic SV255 DAT Panasonic SV275 I-IR remote, H-Supported hardwire remote, U-Unsupported remote, N-no remote DAT-Link Extensive remote control and monitoring capabilities from DAT Walkman. Requires optional remote and digital cable (Sony RMD3-K, POC-15). A/D/A, Ampli er. Requires optional A/D unit (HDA-1)
  • Page 141 DAT Teac DAT Technics SV-DA10 I-IR remote, H-Supported hardwire remote, U-Unsupported remote, N-no remote DAT-Link Extensive remote control and monitoring capabilities from DAT Walkman. Requires optional remote and digital cable (Sony RMD3-K, POC-15). A/D/A, Ampli er. Requires optional A/D unit (HDA-1)
  • Page 142 RD101T Data DAT TEAC RD135T I-IR remote, H-Supported hardwire remote, U-Unsupported remote, N-no remote DAT-Link Extensive remote control and monitoring capabilities from DAT Walkman. Requires optional remote and digital cable (Sony RMD3-K, POC-15). A/D/A, Ampli er. Requires optional A/D unit (HDA-1)
  • Page 143: E Dip Switch Settings

    Appendix E DIP Switch settings DAT-Link DAT- The Options switches on the rear of the are used to con gure the Link 's SCSI interface to allow it to communicate with certain workstations which do not support generic SCSI devices. The following table gives the settings required...
  • Page 144 DIP Switch settings...
  • Page 145: F Known Bugs And Limitations

    Appendix F Known Bugs and Limitations F.1 Limitations DAT-Link The following are known limitations of the and NetAudio. 1. If the AES/EBU signal is lost while recording, some garbage may be recorded before the situation is recognized. 2. Some DAT machines interrupt the AES/EBU data stream when their state is changed.
  • Page 146 Known Bugs and Limitations DAT-Link DAT-Links 8. On version 1.4 and earlier, synchronization of multiple may be o by as much as one sample. Synchronization of playback on these models requires that the digital outputs be temporarily turned o . 9. Most DAT machines do not allow the input source to be selected by remote control.
  • Page 147: Bugs

    1024 Low DSP can be reloaded by 'naloaddsp' while 'narecord' is in progress. 1026 Medium VU LED's not updated on DAT-Link 1.6 when sample-rate conversion is not used. 1031 Medium DAT-Link may not power-on correctly if ProPort is con- nected and powered-up before the DAT-Link. (S/N <...
  • Page 148 Known Bugs and Limitations Severity Synopsis 1092 Medium Calling NAFlush() on a paused playback from a separate process may cause an exception. 1093 Medium Doing an NAFlush () on an open record data stream which is paused will cause subsequent NARead() calls to always return zero.
  • Page 149: G Reference Manual

    Appendix G Reference Manual DAT-Link The following pages are copies of the manual pages for the user UNIX programs, utilities, and library functions. These pages should also be available using DAT-Link command once the software is installed. UNIX The following manual page sections numbers are used: User commands.
  • Page 150: User Programs

    Clear the forced ready state for the specified DAT-Link. Note that use of any other NetAudio or DAT-Link program will also clear the state. – u unit Specify the DAT-Link unit to use. Default is 0 or the value of the environment variable if it is set. DL_UNIT, –D devic...
  • Page 151: Dlmplay

    DAT-Links for correct synchronization. If the DAT-Link+ is used, the Sync connectors of each DAT-Link+ should be connected to an externa lock generator (Part EXTCLK) and the -E option to dlmplay MUST be used. This allows the units to be synchronized such that each DAT-Link will start playing at the same time with the same sample-rat lock.
  • Page 152 If the external clock generator is not properly connected, dlmplay will hang waiting for a clock signal f multiple DAT-Link’s are wired together using an external clock generator, then recording will hang if less than the total number of devices is specified, unless the dlmkrdy(1) program is used to force the nused units to signal that they are ready.
  • Page 153: Dlmrec

    DAT-Links. By default the output file will consist of a 512 byte header followed by the data from each DAT-Link interleaved on a block-by-block basis. The header contains the size of the blocks, the number of chan els, and a magic number for identification.
  • Page 154 DAT-Links will allow greater throughput. f multiple DAT-Link’s are wired together using an external sync cable or external clock generator (EXTCLK), then recording will hang if less than the total number of devices is specified, unless the lmkrdy(1) program is used to force the unused units to signal that they are ready.
  • Page 155: Nadspod

    NetAudio server to use of the form host:nn , where host is the name of the host AUDIO_DEVICE where the server is running and nn is the unit number of the DAT-Link to use. If no et, unit 0 on the local host is used is used.
  • Page 156: Nagetfilter

    NetAudio server to use of the form host:nn , where host is the name of the host AUDIO_DEVICE where the server is running and nn is the unit number of the DAT-Link to use. If no et, unit 0 on the local host is used is used.
  • Page 157: Naloaddsp

    NetAudio server to use of the form host:nn , where host is the name of the host AUDIO_DEVICE where the server is running and nn is the unit number of the DAT-Link to use. If no et, unit 0 on the local host is used is used.
  • Page 158: Naplay

    ] DESCRIPTION naplay transfers the files given on the command line to a digital audio device via a DAT-Link inter- face. It can be used anywhere on a local area network that has a NetAudio server running. See netau iod(8) for details on the server.
  • Page 159 –p precision Specify the number of bits/sample to be transferred to the DAT-Link. This option can only be used if the encoding is linear (See the -e option). The default precision is 16 bits/sample.
  • Page 160 BUGS On DAT-Link version 1.3 and earlier, the –c option only sets the first four bytes of the channel status and user bytes, the remaining bytes will be set to default values. Also, the left channel status is used fo oth the left and right channels.
  • Page 161 NAPLAY(1) channel, but only four user bytes. ot all combinations of encodings are available under all circumstances. Due to limitations of the UNIX SCSI drivers, the maximum playback duration is approximately 3 hours etAudio Reference Last change: 1995/02/08...
  • Page 162: Narecord

    This allows the machine to convert it’s analog inputs to a digital output stream which is passed through the DAT-Link interface to the host computer. On some machines a blank tap ust be inserted before paused-record is permitted. To transfer from a DAT tape to file, the DAT machine just needs to be put into normal play mode before running narecord.
  • Page 163 first. The default is stereo. –p precision Specify the number of bits/sample to be transferred from the DAT-Link. This option can only be used if the encoding is linear (See the -e option). The default precision is 16 bits/sample.
  • Page 164 BUGS On DAT-Link version 1.3 and earlier, the –c option only stores the first four bytes of the channel status and user bytes, the rest will always be zero. Also, the left channel status is stored as both the left and ight channel status information.
  • Page 165: Narecseg

    Default NetAudio server to use of the form host:nn , where host is the name of the host where the server is running and nn is the unit number of the DAT-Link to use f not set, unit 0 on the local host is used is used.
  • Page 166 If non-null, the specification of filter response for sample-rate converter which converts from nn to mm samples/second. See the User’s Manual for details o sing this option. [NULL] narecord.stopband.atten Attenuation, in dB, of sample-rate converters anti-aliasing stopband. [90] SEE ALSO narecord(1) netaudiod(8), DAT-Link User’s Manual etAudio Reference Last change: 1992/11/22...
  • Page 167: Naset

    NetAudio server to use of the form host:nn , where host is the name of the host where the server is running and nn is the unit number of the DAT-Link to use. If no et, unit 0 on the local host is used is used.
  • Page 168: Nastatus

    Default NetAudio server to use of the form host:nn , where host is the name of the AUDIO_DEVICE host where the server is running and nn is the unit number of the DAT-Link to use f not set, unit 0 on the local host is used is used.
  • Page 169 Default NetAudio server to use of the form host:nn , where host is the name of the AUDIO_DEVICE host where the server is running and nn is the unit number of the DAT-Link to use f not set, unit 0 on the local host is used is used.
  • Page 170: Rctrain

    OPTIONS –l Perform loopback test of remote control transmitter and receiver. –u unit Specify the DAT-Link unit on the local host to use. The default is 0 or the value of th environment variable if it is set. DL_UNIT, –D device...
  • Page 171 RCTRAIN(1) be aborted. AT-Link Reference Last change: 1992/02/15...
  • Page 172: Sv3900

    ESCRIPTION Using the first form of this command, sv3900 executes remote control commands on a Panasonic SV3900 connected to a DAT-Link interface via it’s serial interface. A NetAudio server is used fo ommunication with the DAT-Link, see netaudiod(8) for details.
  • Page 173 Default NetAudio server to use of the form host:nn , where host is the name of the host where the server is running and nn is the unit number of the DAT-Link to use f not set, unit 0 on the local host is used is used.
  • Page 174: Teacin

    TEACIN(1) NAME teacin – parse data transferred from a TEAC data DAT recorder SYNOPSIS teacin [ –o out_file ] [ file ] DESCRIPTION Data transferred from a TEAC data DAT recorder contains side information in addition to the actual data. This information is stored in the two least significant bits of each 16-bit data word. The teacin rogram can be used to separate this information from the data, parse it, and store it in separate files.
  • Page 175 TEACIN(1) OPTIONS –o out_file Specify the base name for the files to be created. If not specified then ’teacin’ will be used as the base. SEE ALSO narecord(1),teacout(1), DAT-Link User’s Manual BUGS etAudio Reference Last change: 1995/07/11...
  • Page 176: Teacout

    24,000 or 48,000 for 4-channels, and 12,000 or 24,000 for 8-channels. SEE ALSO naplay(1),teacin(1) DAT-Link User’s Manual NOTES To correctly synchronize with the TEAC, teacout adds 2 bytes of zeroes at the beginning of its output. It also pads its total output length to 2 plus a multiple of 2880 bytes. Thus, concatenating multiple files enerated by teacout will NOT be valid input for the TEAC.
  • Page 177: Xnaplay

    , where host is the name of the host AUDIO_DEVICE where the server is running and nn is the unit number of the DAT-Link to use. If not set, unit 0 on the local host is used is used.
  • Page 178: Na Dsp

    ESCRIPTION These routines allow C programs to access the DSP32C processor inside the DAT-Link using the NetAudio server on the local machine or other machines connected via a network. See netaudio(3) fo nformation on opening and closing connections to the NetAudio server, ROUTINES #include <netaudio.h>...
  • Page 179 NA DSP(3) described with NADSPWrite() also apply to NADSPRead(). SEE ALSO netaudio(3), netaudiod(8) DAT-Link User’s Manual etAudio Reference Last change: 1992/12/18...
  • Page 180: Na Event

    NetAudio server are as follows: A_SNAPSHOT When this event is enabled, the server will send a snapshot of the current DAT-Link status to the client at regular intervals. The rate of these events can be set with NASetPollInter al().
  • Page 181 Set the interval between generation of NA_SNAPSHOT events if they are enabled. Events will be generated approximately every usec microseconds. Values less than 100000 may nduly load the host processor. SEE ALSO netaudio(3), na_remote(3), na_info(3), netaudiod(8) DAT-Link User’s Manual. etAudio Reference Last change: 1992/11/22...
  • Page 182: Na Info

    /∗ Name of server hardware ∗/ char hardware[16]; /∗ Server hardware version ∗/ int hwVersion; ∗ Fields specific to DAT-Link ∗/ /∗ Input source ∗ unsigned short source; /∗ Status of AES receiver ∗/ nsigned short rxstatus; /∗ 1 to enable ramp output ∗...
  • Page 183 NA INFO(3) sampleRate Sampling rate of data stream between host and DAT-Link. A setting of 0 indicates that no sample rate conversion should be performed and the rate will be the same as the DAT sam ling rate. externalRate Sampling rate of data between the DAT-Link and the digital audio device. For recording this is a read-only value.
  • Page 184 NA INFO(3) protoMinorVersion Minor version of server’s NetAudio protocol. hardware Name of server hardware. This implementation will always return "DAT-Link" wVersion Server hardware version number. This implementation will return the DAT-Link’s hardware and firmware revision numbers. ource Input source for recording.
  • Page 185: Na Remote

    The memory used by the returned list should be reed with NAFreeList() when it is no longer needed. void NAFreeList(list) har ∗∗list; Free the memory used by a list returned by NAListDevices() or NAListOperations(). SEE ALSO netaudio(3), na_event(3), na_info(3), netaudiod(8), DAT-Link User’s Manual. etAudio Reference Last change: 1992/03/02...
  • Page 186: Netaudio

    Close the data connection on the given port. If force is non-zero then pending data will be immediately flushed. Otherwise, the data connection will be closed after all queued data i ransferred to the DAT-Link as if NADrain() had been called first. In this case, the return value will the same as described for NADrain().
  • Page 187 Note that due to a limitation of the SCSI driver’s on most computer, the last 512 bytes of data may not be sent to the DAT-Link until NADrain() or NACloseData() i alled. Thus, if only a small amount of data is being sent, NABegin() should NOT be called or the DAT-Link may underrun before the last 512 bytes can be sent.
  • Page 188 NAport ∗port; nt unit; const char ∗buf; int nbytes; Write nbytes of data stored in buf to the DAT-Link’s serial port unit number unit. This can be used to write data to an ES-Bus device. nt NAGetServerVersion(port) NAport ∗port; Get version number of NetAudio running on server. The return value is encoded in an integer.
  • Page 189 NAWrite() will always write the requested number of bytes unless a transfer error occurs such as a DAT-Link underrun, in which case the number of bytes actually written ill be returned. A -1 return value indicates that the data channel was not open when NAWrite() was called.
  • Page 190: Netaudio

    Data AUDIO_DEVICE will be recorded from the left channel of the DAT-Link’s digital audio input at a sampling rat pecified by irate. For segmentation purpose, data is blocked into frames of iwind samples and average energy over the frame is computed by the DAT-Link. Each frame begins ishift sam les after the previous frame.
  • Page 191 The sole use of the segmentation is as a criteria of when to stop recording. uring the execution of these routines, the DAT-Link will be loaded with a special DSP program to do the energy computations. If a program is interrupted before mendpoint() completes, this program wil emain loaded.
  • Page 192: Utilities

    NETAUDIO(3) SEE ALSO netaudiod(8) NetAudio Reference Last change: 1993/04/16...
  • Page 193: Dltest

    If an incompatible version of the firmware is currently loaded, this may result in sub equent errors during communications with the DAT-Link. –u unit Specify the DAT-Link unit to use. Default is 0 or the value of the environment variabl if it is set.
  • Page 194 DLTEST(8) aborted. AT-Link Reference Last change: 1993/03/15...
  • Page 195: Nakillserver

    NetAudio server to use of the form host:nn , where host is the name of the host AUDIO_DEVICE where the server is running and nn is the unit number of the DAT-Link to use. If no et, unit 0 on the local host is used is used.
  • Page 196: Naloop

    DAT-Link, its data transfer capabilities can be easily tested. aloop can also be run while the DAT-Link is connected to a digital audio tape (DAT) machine. When the DAT machine is placed in paused-record mode, with the digital input selected as it’s source, th igital data from the DAT-Link should be passed back to the DAT-Link allowing naloop to function.
  • Page 197 0 if everything was fine. If there was a command line error, exit status 1 is returned. Communication errors with the DAT-Link result in an exit status of 2. If there were data rrors (mismatch between actual and expected data), an exit status which is the negative of the number of failing conditions (sampling rate and input source).
  • Page 198: Naserver

    NASERVER(8) NAME naserver – network audio server for DAT-Link SYNOPSIS naserver [ –F ] [ -u unit ] [ –s sockbase ] [ –R retries ] DESCRIPTION naserver is a wrapper for the NetAudio server, netaudiod(8). It manages system logging, monitoring of netaudiod and error handling.
  • Page 199: Naversion

    Default NetAudio server to use, of the form host:nn , where host is the name of the AUDIO_DEVICE host where the server is running and nn is the unit number of the DAT-Link to use f not set, unit 0 on the local host is used is used.
  • Page 200: Netaudiod

    DAT-Link interface on the local host and begins accepting connec- tions from clients to allow remote or local access to the DAT-Link. netaudiod must be started before aplay(1), narecord(1), or other NetAudio clients can be used. Multiple DAT-Link interfaces on a sin- gle host can be handled by specifying different unit numbers for multiple invocations of netaudiod.
  • Page 201: Bibliography

    Bibliography [AES91] Audio Engineering Society. AES Recommended Practice for Digital Au- dio Engineering|Serial Transmission Format for Two-Channel Linearly Represented Digital Audio Data , 1991. AES3-199X / ANSI S4.40-199X. [EIA87] Electronic Industries Association of Japan. Digital Audio Interface , September 1987. CP{340. [IEC89] International Electrotechnical Commission.
  • Page 202: Index

    Index adparams() , 186 supported models, 135 AES/EBU, 34 channel status as clock source, 55 and DAT-Link revision 1.3, 141 as input source, 64 consumer vs. professional, 35, 58 testing, 43 display, 89 Ariel editing, 127 ProPort, 105 le format, 126...
  • Page 203 34 DIP switch record-standby mode, 52, 62 settings, 139 set-up for playback from disk, 51 directory set-up for recording to disk, 61 for DAT-Link installation, 39, 127 supported models, 135 environment variable, 77 DL RC DAT-Link , 146 dlmkrdy...
  • Page 204 64 IBM RS/6000, 139 connections, 34 IEC Type II, see SPDIF testing, 43 impulse response le formats of DAT-Link lters, 92 .datlinkrc , 126 infrared remote control, see remote con- audio data, 52, 56, 66, 123{125 trol AIFC, 124...
  • Page 205 INDEX utilities, 188{196 NAOpenData() , 182 master clock NAPause() , 182 generating, 82 NAPauseServer() , 182 MATLAB NAPending() , 176 frequency response, 93 , 51{60, 154{157 naplay MD, 135, 138 NARead() , 182 , 61{69, 158{160 connecting, 34 narecord mediad, 28 , 69, 161{162 narecseg mendparams() , 186...
  • Page 206 RCA input, see SPDIF over network, 141 , 75{76, 166{167 rctrain bypasses server, 48 path troubleshooting, 121 adding DAT-Link programs to, 39 using for testing, 42 pausing RD125T external control, 132 Data DAT Recorder, 108 LED display, 53, 63 RD135T, see TEAC...
  • Page 207 77 skipping during recording, 65 SV-3900, 78 Silicon Graphics, 26{28, 139 testing, 42 slave training, 75{76 DAT-Link as, 82 using, 76 , IBM RISC/6000 utility, 20 smit revision software of hardware, 87 loading, 39 of software, 87...
  • Page 208 88 setting to override, 91 VU levels synchronization decay rate, 90 connector, 132{133 display, 88 external clocks, 55 LED's, 53, 63 DAT-Link of multiple +'s, 80 metering, 89 DAT-Links of multiple , 82 overriding, 81, 91 , 98 waves+...

Table of Contents