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)
Check Out this Related Man Page
AFINITBYTEORDER(3)AFINITBYTEORDER(3)NAME
afInitCompression - initialize compression for a track in an audio file setup
SYNOPSIS
#include <audiofile.h>
void afInitCompression(AFfilesetup setup, int track, int compression);
PARAMETERS
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.
DESCRIPTION
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:
AF_COMPRESSION_NONE
no compression
AF_COMPRESSION_G711_ULAW
CCITT G.711 mu-law encoding
AF_COMPRESSION_G711_ALAW
CCITT G.711 A-law encoding
AF_COMPRESSION_IMA
IMA ADPCM encoding
AF_COMPRESSION_MS_ADPCM
MS ADPCM encoding
AF_COMPRESSION_FLAC
FLAC
AF_COMPRESSION_ALAC
Apple Lossless Audio Codec
ERRORS
afInitCompression can produce the following errors:
AF_BAD_FILESETUP
setup represents an invalid file setup.
AF_BAD_TRACKID
track represents an invalid track identifier.
AF_BAD_COMPTYPE
compression represents an invalid compression type.
SEE ALSO afNewFileSetup(3), afInitSampleFormat(3)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFINITBYTEORDER(3)
:confused: Hi
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)
Hi everybody,
I just need desired ouput from text file which should have folowing format;
"2007-06-25 00:03:32.926+05:30",12354369,"Load","Completed","Rs.-5,556.00",9452217714
"2007-06-25 00:06:57.357+05:30",12354371,"Load","Completed","Rs.-56.00",9415766266
"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
File 1:
0633-009_001200008:225065338468009:CMBRTRM:albuterol... (4 Replies)
Hi,
I have EBCDIC format file and i wold like to convert normal string(user readable) in unix .
The source having the binary IBM file format
Sample Source Format:
... (3 Replies)
hi all,
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)
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)
Hi ,
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)