Skip to content

Commit a3830f0

Browse files
committed
Update gen.sh
1 parent e817f53 commit a3830f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gen.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/bin/bash
2-
youtube-dl -o ./download/$2.m4a -f 140 $1
3-
ffmpeg -i ./download/$2.m4a -f s16le -ar 48000 -ac 2 pipe:1 | dca > ./audio_cache/$2.dca
2+
ffmpeg -i download/$1.m4a -f s16le -ar 48000 -ac 2 pipe:1 | dca > audio_cache/$1.dca

0 commit comments

Comments
 (0)