Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sfconvert(1) [centos 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)

Check Out this Related Man Page

AFINITFILEFORMAT(3)													       AFINITFILEFORMAT(3)

NAME
afInitFileFormat - initialize file format of an audio file setup SYNOPSIS
#include <audiofile.h> void afInitFileFormat(AFfilesetup setup, int fileFormat); PARAMETERS
setup is a valid file setup created by afNewFileSetup(3). fileFormat is an integer constant specifying a file format. DESCRIPTION
Given an AFfilesetup structure created with afNewFileSetup(3), afInitFileFormat initializes the file format to that specified by fileFormat. The following file formats are currently supported: AF_FILE_RAWDATA raw audio data AF_FILE_AIFF Audio Interchange File Format AF_FILE_AIFFC Audio Interchange File Format AIFF-C AF_FILE_NEXTSND NeXT .snd/Sun .au AF_FILE_WAVE Microsoft RIFF WAVE AF_FILE_BICSF Berkeley/IRCAM/CARL Sound File AF_FILE_AVR Audio Visual Research AF_FILE_IFF_8SVX Amiga IFF/8SVX AF_FILE_SAMPLEVISION Sample Vision AF_FILE_VOC Creative Voice File AF_FILE_NIST_SPHERE NIST SPHERE AF_FILE_CAF Core Audio Format ERRORS
afInitFileFormat can produce the following errors: AF_BAD_FILESETUP setup represents an invalid file setup. AF_BAD_FILEFMT fileFormat represents an unknown file format. AF_BAD_NOT_IMPLEMENTED fileFormat represents a file format which is not currently implemented. SEE ALSO
afNewFileSetup(3) AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFINITFILEFORMAT(3)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Convert UTF8 Format file to ANSI format

: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)
Discussion started by: rajreddy
9 Replies

2. Linux

No Sound [Sigmatel C-Major Audio] :: Fedora 7

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)
Discussion started by: grid-lyn
0 Replies

3. HP-UX

Desired Format !

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)
Discussion started by: prasanth_babu
1 Replies

4. UNIX for Dummies Questions & Answers

File format check

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)
Discussion started by: Leo_NN
11 Replies

5. HP-UX

Format File

Can someone please give me the commands to format all the files in HP-UX without formatting the OS. (5 Replies)
Discussion started by: joeli
5 Replies

6. Shell Programming and Scripting

To Align clinical data files using awk

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)
Discussion started by: chowdhut
4 Replies

7. Shell Programming and Scripting

EBCDIC Format to Normal String

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)
Discussion started by: koti_rama
3 Replies

8. UNIX for Dummies Questions & Answers

Format the data file

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)
Discussion started by: dhamu
2 Replies

9. Shell Programming and Scripting

Pivot using awk

Hi, I am writing a code to basically pivot the data. awk -v var1="" -v var2="" -v var3="" -v var4="" -v var5="" -v Disp=0\ 'BEGIN {FS=":"; OFS="|";}\ /^Pattern1/ {var1=$2;Disp=0;} \ /^Pattern2/ {var2=$2;} \ /^Pattern3/ {var3=$2;} \ /^Pattern4/ {var4=$2;} \ /^Pattern5/... (5 Replies)
Discussion started by: tostay2003
5 Replies

10. Programming

A Function To Create A 1 Second Sinewave WAVE Beep File In Python.

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)
Discussion started by: wisecracker
1 Replies

11. Shell Programming and Scripting

EMAIL Format in UNIX

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)
Discussion started by: satish1222
6 Replies