Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch convert samples to 8bit
#7
Used the switch software and batch converted some sample source samples to 44100 8bit raw and it works like a charm thanks.

Also tested open source sox commands in cygwin and it rocks as well here is one command used to convert a samples folder to 8bit 44100 wav files with normalisation to -1db:


Code:
mkdir out.44k8
find . -maxdepth 1 -name "*.wav" | while read filename; do ~/c/prog/sox-14.4.2/sox.exe --no-dither "$filename" --bits=8 ./out.44k8/"$filename" --norm=-1 rate 44100; done;

one can adapt the script for various rates like this for chip tune 8bit 8khz:


Code:
mkdir out.8k8
find . -maxdepth 1 -name "*.wav" | while read filename; do ~/c/prog/sox-14.4.2/sox.exe --no-dither "$filename" --bits=8 ./out.8k8/"$filename" --norm=-1 rate 8000; done;
Reply


Messages In This Thread
Batch convert samples to 8bit - by holo - 10-24-2017, 06:53 PM
RE: Batch convert samples to 8bit - by Mooko - 10-24-2017, 06:56 PM
RE: Batch convert samples to 8bit - by holo - 10-24-2017, 10:25 PM
RE: Batch convert samples to 8bit - by XORadmin - 10-25-2017, 08:02 PM
RE: Batch convert samples to 8bit - by holo - 10-29-2017, 05:11 PM
RE: Batch convert samples to 8bit - by XORadmin - 10-29-2017, 08:00 PM
RE: Batch convert samples to 8bit - by basswave - 04-10-2019, 09:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)