File: wav_to_raw

package info (click to toggle)
freebirth 0.3.2-9.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 3,632 kB
  • ctags: 640
  • sloc: ansic: 4,724; makefile: 89; sh: 1
file content (9 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#This is a utility to convert sound files
#of type wav to the raw format used by freebirth.
#The wav files must be mono and must be have
#been recorded at a sampling rate of 44100
#It requires that sox be installed on your system
#but this is standard with most linux distributions.

sox  $1 -t wav    -c 1  -r 44100 -s -w $2 ;