sfconvert - convert audio files
sfconvert infile outfile [output options]
The sfconvert command converts an audio file to another file format or data format.
The following keywords specify the format of the output sound file:
Output file format. f must be one of the following:
aiff Audio Interchange File Format
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
ulaw G.711 mu-law
alaw G.711 A-law
ima IMA ADPCM
msadpcm Microsoft ADPCM
alac Apple Lossless Audio Codec
Output byte order. e may be either big or little.
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.
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:
Print help message.
Print version information.
SEE ALSO sfinfo(1)AUTHOR
Michael Pruett <email@example.com>
Audio File Library 0.3.6 03/06/2013 SFCONVERT(1)
Check Out this Related Man Page
afInitCompression - initialize compression for a track in an audio file setup
void afInitCompression(AFfilesetup setup, int track, int compression);
setup is a valid file setup returned by afNewFileSetup(3).
track specifies a track within the audio file setup. track is always AF_DEFAULT_TRACK for all currently supported file formats.
compression is an identifier specifying the compression type (such as AF_COMPRESSION_G711_ULAW) to be used for audio data in the track.
Given an AFfilesetup structure created with afNewFileSetup(3) and a track identified by track (AF_DEFAULT_TRACK for all currently supported
file formats), afInitCompression initializes the track to the specified compression.
The following compression types are currently supported:
CCITT G.711 mu-law encoding
CCITT G.711 A-law encoding
IMA ADPCM encoding
MS ADPCM encoding
Apple Lossless Audio Codec
afInitCompression can produce the following errors:
setup represents an invalid file setup.
track represents an invalid track identifier.
compression represents an invalid compression type.
SEE ALSO afNewFileSetup(3), afInitSampleFormat(3)AUTHOR
Michael Pruett <firstname.lastname@example.org>
Audio File Library 0.3.6 03/06/2013 AFINITBYTEORDER(3)
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
I've been fighting for a few days now with trying to get my soundcard to recognize. I am currently using a Latitude D630 with Sigmatel C-Major Audio using the Intel ICH8 Family.
My problem appears to be that the computer cannot detect a sound card but it was only able to install default drivers... (0 Replies)
I just need desired ouput from text file which should have folowing format;
"2007-06-25... (1 Reply)
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)
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
0633-009_001200008:225065338468009:CMBRTRM:albuterol... (4 Replies)
i am new to unix forum,i want do some large data format work. pls help me to format the file.
i have attched data file to be formated in that two set of line item is there . first set header & second set header to be come in to single header item same as like all the data also.
... (2 Replies)
Creating an audio WAVE file called...
...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)
Need help of Email Format
I have TEST .txt file which contains below data
/home/a.DAT File Not received
/home/a.CTL File Not received
/home/b.DAT File Not received
/home/b.CTL File Not received
i am using below command to send mail
mail -s "ERROR: files" $MAIL_LIST <... (6 Replies)