*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> dmedia/recordaifc (1)              
Title
Content
Arch
Section
 

Contents


recordaifc(1)							 recordaifc(1)


NAME    [Toc]    [Back]

     sfrecord, recordaifc, recordaiff -	record an audio	file

SYNOPSIS    [Toc]    [Back]

     sfrecord [sfoptions] [options] filename
     recordaifc	[options] filename
     recordaiff	[options] filename
     sfoptions:	    [-w	samplewidth]
     options:  [-help] [-verbose]
	       [-n nchannels]
	       [-s samplefmt]
	       [-r rate]
	       [-t time	secs]
	       [-f filefmt]
	       [-d device]
	       [-c compression]

DESCRIPTION    [Toc]    [Back]

     sfrecord creates an output	file containing	audio sample data recorded
     through the audio hardware.  sfrecord records audio input for a time
     equal to a	given -t argument, or until the	user sends it an interrupt.
     The file's	sampling rate will be equal to the rate	of the default audio
     input device.  This can be	set via	the -r argument.  The format,
     compression, and channel count can	be set via the appropriate arguments.

     Silicon Graphics has adopted AIFF-C (".aifc" suffix) as its standard
     interchange file format for digital audio sample data.  AIFF-C is an
     extension of the AIFF standard which includes support for compressed
     audio data.  The recordaifc and recordaiff	programs provide a restricted
     interface to sfrecord as follows:

     recordaifc	creates	output files exclusively in AIFF-C (or AIFF) file
     format, and supports a smaller number of compression types.  recordaiff
     creates output files in AIFF file format with no compression options.

     The -c option allows you to compress audio	data in	real-time while
     writing it	to an formats which support compression. There are several
     compression algorithms available: G.711 2:1 mu-law	or A-law recommended
     for 8 KHz,	16-bit mono or multichannel data, G.722	4:1 compression
     recommended for 16	KHz, 16-bit mono or stereo data, G726, G728, GSM,
     MPEG1 Audio, and DVI ADPCM	(for WAVE files	only).

     When any of these programs	receives a user	interrupt, it writes all
     sample data in the	audio buffer out to disk and updates the header	before
     it	exits.

     recordaiff	and recordaifc are installed as	links to sfrecord for backward
     compatibility. The	only difference	between	the first two is that
     recordaifc	creates	AIFF-C files by	default, while recordaiff creates AIFF
     files by default.	sfrecord's functionality is a superset of the others.




									Page 1






recordaifc(1)							 recordaifc(1)


OPTIONS    [Toc]    [Back]

     -h	  help:	print out a list of command line options and their
	  descriptions

     -v	  verbose: output to stdout

     -f	  file format: aifc or aiff [for recordaifc], aifc, aiff, next,	wave,
	  or raw [for sfrecord].

     -n	  number of channels: 1	= mono,	2 = stereo, 4 =	4-channel,

     -s	  sample format: 8, 16 [for recordaifc]

     -d	  audio	device from which to get audio

     -r	  sample rate: 48000, 44100, 32000, etc

     -c	  compression type (mono or stereo AIFF-C only): ulaw ,	alaw, or g722

     -t	  length of recording session in seconds: floating point value

FILES    [Toc]    [Back]

     Source code for recordaifc	is installed here:
     /usr/share/src/dmedia/soundcommands

BUGS    [Toc]    [Back]

     To	record files containing	sample data which is compressed	with G.722 or
     Aware you will need to run	recordaifc with	nondegrading high priority
     (this is especially true for stereo compressed data).

     If	being run as root, the priority	is set to NDPNORMMAX which is the
     highest normal process priority.  If run as a user, the process is	set to
     the highest non-degrading priority	allowed	by the system.	This parameter
     is	unfortunately by default lower than any	normal process,	but can	be
     changed using systune(1M).	 Alternately, see the man page npri(1) for
     information about how to set custom priorities and	time slices.

SEE ALSO    [Toc]    [Back]

      
      
     playaifc(1), apanel(1), aiff2aifc(1), aifcresample(1), aifccompress(1)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
mediarecorder IRIX record movies, still images, or audio files
datman IRIX play and record audio tapes in DAT drive
AFwriteframes IRIX write audio sample frames to a specified track in an audio file
AFreadframes IRIX read sample frames from a specified audio track in an audio file
logwtmp FreeBSD append a new record to the wtmp file
pppdump Linux convert PPP record file to readable format
AFclosefile IRIX close an audio file, update file header if file was opened for write access.
AFopenfile IRIX allocate an AFfilehandle structure for an audio file identified by name / by a Unix file descriptor
AFidentifyfd IRIX retrieve the audio file format of a file descriptor / open AFfilehandle
AFsyncfile IRIX write out a consistent snapshot of an audio file without actually closing the file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service