AFCONVERT(1) BSD General Commands Manual AFCONVERT(1)NAME
afconvert -- Audio File Convert
SYNOPSIS
afconvert [option] src_audiofile dest_audiofile
DESCRIPTION
Audio File Convert will convert a source audio file to a new audio file with the specified file and data types
OPTIONS -h print help text
Darwin February 13, 2007 Darwin
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)
Right, noob to shell scripting, playing a round for practice, wrote the following but it doesn't seem to work as expected, how could I fix/improve this script?
#!/bin/bash
#set -v
#set -x
case $# in
1)
echo Searching for $1 in '*';
find . -iname '*' 2>/dev/null | xargs grep "$1" -sl... (3 Replies)
Hey Guys,
Absolute neewbie here. I am trying to see if it is possible to edit headers/meta-data of files in Mac OSX. I am basically trying to change an audio file header to read 16bit instead of 24bit.
We have an issue with some of our software and it regularly exports 16bit audio files with... (3 Replies)
Upon opening Terminal I get the following message:
-bash: /usr/bin/manpath: No such file or directory
-bash: /usr/bin/perl: No such file or directory
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
I searched... (9 Replies)
Hi all...
I am trying to create a shell project purely for this Macbook Pro.
I do NOT want to use SOX as the sampling _source_ but Quicktime
instead, the idea being that NO third party installs will be needed.
The code below works fine except the commented out Applescript line
does not do... (2 Replies)
This site is the first to get this snippet.
It will capture an audio recording of any time length within the limits of OSX's QuickTime Player's capablility...
A shell script derivative of this will be used as a further capture for CygWin's AudioScope.sh.
Thoroughly read ALL the comments in... (0 Replies)
shush.sh
This is a noise generator for newborn babies to listen to sooth them to sleep.
See more about it here:-
White noise machine - Wikipedia
It is invoked as:-
Usage:- shush.sh <time in seconds from 18 to 2700> ]<CR>
'Sensitivity' defaults to edium if omitted.
It has been... (0 Replies)
Well after the transparent QuickTime Player means of capture for OSX 10.7.x became broken in at least Yosemite I decided to persevere with a version of command line capture for OSX 10.12.x.
A derivative of this DEMO is now inside AudioScope.sh to give my MBP and iMac a means of capturing an... (3 Replies)
Hi folks...
(Apologies for typos.)
I have been working on a very simple MacBook_Pro/iMac centric project. I have called it Spy .
If you just want to test for fun you only need ./Spy and this defaults to a 5 second video with Medium sensitivity from the working directory whre Spy is.
(Just... (1 Reply)
Just added OSX 10.14 Mojave Commands (currently over 13K pages in the mojave repo) to our man page repository:
OSX 10.14 Mojave Commands
We need to update all the man pages to the most current versions, so please contribute man page sets to your favorite OS environment (tar.gz with os and... (3 Replies)
Hi all...
Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default.
Many tricky terminal escape codes are not catered for so I had to create workarounds.
One thing I searched for was this:
Passing perl variable to shell command
AND, @Neo this was... (15 Replies)