hldsp/run_url.sh

10 lines
210 B
Bash
Executable File

#!/bin/sh
gcc *.c -I. -O3 -o hldsp
wget -O temp.opus $1 # not really opus of course
ffmpeg -i temp.opus -ar 22050 temp.wav
./hldsp $2 temp.wav out.wav
ffmpeg -i out.wav out.opus
rm temp.wav out.wav temp.opus