NAS-1.7

Introduction to NAS

The Network Audio System is a network transparent, client/server audio transport system used to read , write and play audio files in many formats including .au, .snd, .voc, .wav, .aiff, .aif and .iff. It can be described as the audio equivalent of an X server.

Package Information

Additional Downloads

NAS Dependencies

Required

X Window System and rman-3.2 (if using Xorg7)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nas

Installation of NAS

Install NAS by running the following commands:

patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
xmkmf &&
make World

Now, as the root user:

make install install.man &&
install -v -m755 -d /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/pdf/* /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/{README,actions,*.{ps,txt}} \
    /usr/share/doc/nas-1.7

Command Explanations

xmkmf; make World: These commands use the standard for compiling X based applications.

Configuring NAS

Config Files

/etc/nas/nasd.conf

Configuration Information

Create the NAS configuration file using the following command:

install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf

Edit the new configuration file to suit your network and system needs.

Boot Script

[Note]

Note

The NAS server cannot run simultaneously with other sound servers, such as MAS or JACK.

Install the /etc/rc.d/init.d/nas init script included in the blfs-bootscripts-20060910 package.

make install-nas

The init script uses a default prefix of /usr/X11R6. If you've installed the X Window System into any other prefix, execute the following command, replacing <PREFIX> with the installation prefix of the X Window System.

sed -i 's@/usr/X11R6@<PREFIX>@' /etc/rc.d/init.d/nas

The init script uses a default parameter to allow access to all hosts on the network. Review the nasd man page for other available parameters if you need to modify the script.

Contents

Installed Programs: auconvert, auctl, audemo, audial, auedit, auinfo, aupanel, auphone, auplay, aurecord, auscope, autool, auwave, checkmail, issndfile, nasd, playbucket, and soundtoh
Installed Library: libaudio.{so,a}
Installed Directory: /etc/nas and /usr/X11R6/include/audio

Short Descriptions

au{utilities}

are a collection of tools to convert, play, edit, record, and manipulate sound files. See the respective man page for each utility for a full description of each one.

checkmail

plays a sound file when the user receives mail.

issndfile

checks if a file is in a recognized audio file format.

nasd

is the Network Audio System server daemon.

playbucket

plays, or creates, the bucket corresponding to the specified file.

soundtoh

converts a sound file to a C language header file.

libaudio.{so,a}

contains API functions to read and write audio files.

Last updated on 2007-01-28 11:43:31 -0600