10 lines
220 B
Bash
10 lines
220 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
gcc *.c -I. -O3 -o hldsp
|
||
|
yt-dlp --extract-audio $1 --audio-format opus -o temp.opus
|
||
|
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
|