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

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

Contents


sfinfo(1)							     sfinfo(1)


NAME    [Toc]    [Back]

     sfinfo - display soundfile	information

SYNOPSIS    [Toc]    [Back]

     sfinfo [ options ... ] soundfiles ...

     where options are:

	-short
	-reporterror

     The full option string need not be	specified; -s and -r will work.

DESCRIPTION    [Toc]    [Back]

     sfinfo reports information	about the soundfile(s) specified.  If invoked
     with no arguments,	it will	display	help.  If invoked like:

	sfinfo flute.aif

     It	will give you info in the format:


	Filename: flute.aif
	File Format: Audio Interchange File Format (aiff)
	Size: 32100 sample frames, 0.73	seconds, 64.6 Kbytes.
	Format:	1 channel 16-bit integer (2's complement, big endian) file.
	Sampling Rate: 44.100 kHz.
	Data begins at offset 402 (192 hex).


     If	you specify the	-short (-s) option, sfinfo reports information in this
     ls-like format:

	 tttt  sssss.ss	ffff  ccc bbb ee filename
	 0.73s 44100.00	aiff  1ch 16b -- flute.aif
	37.27s 22050.00	next  2ch float	 phone.snd

     Where:
	t is length of soundfile in seconds
	s is sampling rate of soundfile	in Hertz
	f is soundfile format
	c is number of channels	in file
	b is # of bits for integer or mulaw file, or "float" for
	  floating point file
	e is sample encoding, "--" for linear or "mu" for mulaw
	  (this	does not apply to floating point files)

     A good way	of doing a "soundfile ls" is:

	sfinfo -s *



									Page 1






sfinfo(1)							     sfinfo(1)



     which looks like:

	 0.73s 44100.00	aiff  1ch 16b -- flute.aif
	 6.47s	8000.00	aifc  1ch 16b -- gunn.afc
	 6.47s	8000.00	next  1ch  8b mu gunn.snd
	37.27s 22050.00	next  2ch float	 phone.snd
	 1.53s 22050.00	next  1ch 16b -- vulc.snd
	 1.53s 22050.00	wave  1ch 16b -- vulc.wav

     This works	because	sfinfo ignores files which are not soundfiles.
     Therefore the above listing only includes files in	the supported formats,
     even if the directory included other files.

     The -reporterror option causes sfinfo to report an	error if one of	the
     files given is not	a valid	soundfile.  This may be	desirable if a given
     set of files must contain all soundfiles.

AUTHOR    [Toc]    [Back]

     Silicon Graphics Inc.; Apple Computer, Inc. for AIFF code.


SEE ALSO    [Toc]    [Back]

      
      
     afIntro(3a) for more about	the Audio File library.
     sfplay(1),	sfconvert(1), sfkeywords(1),
     dmconvert(1), dminfo(1), mediaconvert(1)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
swjob HP-UX display and monitor job information and create and remove jobs; invoke graphical user interface to display and
sd HP-UX display and monitor job information and create and remove jobs; invoke graphical user interface to display and
sfplay IRIX play soundfile
sfkeywords IRIX soundfile keywords used in sfinfo, sfplay, and sfconvert
ainfo IRIX display array information
xdpyinfo Tru64 display information utility for X
uname FreeBSD display information about the system
pam_info FreeBSD display an information message
pam_vinfo FreeBSD display an information message
elfdump FreeBSD display information about ELF files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service