SFINFO(1)SFINFO(1)NAME
sfinfo - display information about audio files
SYNOPSIS
sfinfo [options] audio files...
DESCRIPTION
sfinfo prints information about the specified audio files, including file format, sample rate, duration, and audio data format.
By default sfinfo displays information in a longer, multi-line format; specifying the --short or -s option produces a short, single-line
summary.
Any files which are not recognized as valid audio files will be ignored unless the --reporterror or -r option is given. The file formats
currently supported by sfinfo are AIFF, AIFF-C, NeXT/Sun .snd/.au, WAVE, Berkeley/IRCAM/CARL Sound File, AVR, Amiga IFF/8SVX, Sample
Vision, Creative Voice File, NIST SPHERE, and Core Audio Format.
OPTIONS --short, -s
Print short single-line summary of each recognized audio file.
--reporterror, -r
Print an error message if any of the specified files are not recognized as valid audio files.
--help, -h
Print help message.
--version, -v
Print version information.
EXAMPLES
Display summary of an audio file:
% sfinfo drum.aiff
File Name drum.aiff
File Format Audio Interchange File Format (aiff)
Data Format 16-bit integer (2's complement, big endian)
Audio Data 1569972 bytes begins at offset 54 (36 hex)
2 channels, 392493 frames
Sampling Rate 44100.00 Hz
Duration 8.900 seconds
List all recognized audio files in the current directory using the short output format:
% sfinfo -s *
9.60s 44100.00 aiff 1ch 16b -- bass.aiff
8.90s 44100.00 aiff 2ch 16b -- drum.aiff
SEE ALSO sfconvert(1)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 SFINFO(1)
Check Out this Related Man Page
SFCONVERT(1)SFCONVERT(1)NAME
sfconvert - convert audio files
SYNOPSIS
sfconvert infile outfile [output options]
DESCRIPTION
The sfconvert command converts an audio file to another file format or data format.
OPTIONS
The following keywords specify the format of the output sound file:
format f
Output file format. f must be one of the following:
aiff Audio Interchange File Format
aifc AIFF-C
next NeXT/Sun .snd/.au Format
wave MS RIFF WAVE
bicsf Berkeley/IRCAM/CARL Sound File Format
smp Sample Vision Format
voc Creative Voice File Format
nist NIST SPHERE Format
caf Core Audio Format
flac FLAC
compression c
ulaw G.711 mu-law
alaw G.711 A-law
ima IMA ADPCM
msadpcm Microsoft ADPCM
flac FLAC
alac Apple Lossless Audio Codec
byteorder e
Output byte order. e may be either big or little.
channels n
Number of output channels. n is 1 for mono, and 2 for stereo.
integer n s
Convert to integer audio data. n indicates the output sample width in bits. s specifies the sample format and may be either 2scomp
for 2's complement signed data or unsigned for unsigned data.
float m
Convert to floating-point audio data with a maximum amplitude of m (usually 1.0). The integer and float options are mutually exclusive.
The following options take no additional arguments:
--help, -h
Print help message.
--version, -v
Print version information.
SEE ALSO sfinfo(1)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 SFCONVERT(1)
Hi,
is there a way to combine 2 files together, joining line 1 from file A with line 1 from file B, line 2 from A with line 2 from B etc.
File A File B
1 4
2 5
3 6
Combined result =
File C
14
25
36 (2 Replies)
I have many files (File 1, File 2, File 3, ...) in same directory.
The format of all these files are same.
What I would like to do is to combine all these files into a single file via cross over.
Example)
>>File 1 look like this.
f1 01 1.0
f1 02 2.0
f1 03 3.0
f1 04 4.0
f1 05 5.0
f1 06... (2 Replies)
Hi All,
Looking for an assistance on how to access the speakers of my machine and play audio files using C.
Any tutorials will be of great help.
Regards,
Sayantan. (1 Reply)
Here is the format of my file; I do not have the delimiter in the file for the data to be separated.
Each line in the file is in the following format. File contains the data of different WebOfferCodes
Item Code | Account Number | Card Number | Source code | WebOfferCode
12digits | 10... (4 Replies)
I have two files and I need to know the difference between each line. This will extend to thousand lines and manual works is really not really an option.
sample:
First File Second File
allan entry1 entry2 entry3 allan entry1 entry3
bob entry1... (10 Replies)
Hi,
I have two files file A and File B. File A is a error file and File B is source file. In the error file. First line is the actual error and second line gives the information about the record (client ID) that throws error. I need to compare the first field (which doesnt start with '//') of... (11 Replies)
How to check if file is in a given format?
For instance: if file records are delimeted with "|" ( pipes) and have exactly 26 fields?
File is pretty big (~3 mil reccords), so not sure if I have to check all records or just head/tail records or smth.
Any ideas are much much more than... (11 Replies)
I am wondering if there is a way to get opensolaris to accept my realteck hd audio chip set.
dmesg
Thu Oct 23 22:47:38 EDT 2008
Oct 23 22:34:49 opensolaris Use is subject to license terms.
Oct 23 22:34:49 opensolaris unix: features:... (1 Reply)
Hello, I am new to shell scripts and 1st week into awk. I have so far managed to format output files to sample File 1 and File 2 as shown below and File 3 output solution is what I am looking for...thanks
File 1:
0633-009_001200008:225065338468009:CMBRTRM:albuterol... (4 Replies)
Hi, I would like to write a shell script that will:
-search the files of a specific user to find any audio files with a bandwidth iqual or greater than 192 kps
- on the results i should see the file name along with all the whole file route and each file's size
So I guess i should be using... (1 Reply)
Hi All,
I have 4 big files which contains one big line containing formatted character records, I need to format each file in such way that each File will have 95 Characters per line. Last line of each file will have newline character at end.
Before:-
File Name:- File1.dat
102 121340560... (10 Replies)
sinebeep.py
Creating an audio WAVE file called...
beep.wav
...that can be played using almost ANY audio player available.
This simple DEMO snippet of code generates a 1 second sinewave WAVE file. It IS saved inside the CURRENT drawer so that you can find it... ;o)
Note that the... (1 Reply)
Just finished this Audible audio book. It's simply great.
Highly recommended:
This book was so well done that I did not want to miss a single word; so ended up listening to half of the book twice when I got distracted. This is a great audio book.
... (0 Replies)