man srconv (Commandes) - convert the sample rate of an audio file

NAME

srconv - convert the sample rate of an audio file

SYNOPSIS

srconv [options] audiofile

csound -U srconv [options] audiofile

DESCRIPTION

srconv converts the sample rate Rin of audiofile to Rout. The Rin/Rout ratio may be linearly time-varying according to a set of (time, ratio) pairs from an auxiliary file.

OPTIONS

Either -P or -r is required, and they are mutually exclusive.

-P<number>
Pitch transposition ratio (srate/r)
-r<number>
Output sample rate
-Q{1,2,3,4}
Quality factor. Default: 2
-i<filename>
Break file
-o<filename>
Output file
-A
AIFF
-J
IRCAM
-W
WAV
-h
No header in output file
-c
8-bit signed char sound samples
-a
alaw sound samples
-8
8-bit unsigned char sound samples
-u
ulaw sound samples
-s
short int sound samples
-l
long int sound samples
-f
float sound samples
-K
Don't generate PEAK chunks
-R
Continually rewrite header while writing sound file. (AIFF/WAV)
-H{1,2,3}
Print a heartbeat for each write using style 1,2, or 3.
-N
Notify when done (ring the bell).
-- filename
Log output to filename.

SEE ALSO

csound(1), dnoise(1), pvlook(1), sdif2ad(1).

Csound is documented fully by The Public Csound Manual, available at http://www.lakewoodsound.com/csound/

Csound is also documented by The Alternative Csound Reference Manual, available at http://kevindumpscore.com/docs/csound-manual/

AUTHOR

This manual page was written by Hans Fugal <hans@fugal.net>, for the Debian project (but may be used by others).