mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
Add files via upload
This commit is contained in:
parent
0c5e945d00
commit
1cc9357515
26
wav2mp3.sh
Normal file
26
wav2mp3.sh
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Source files in /mnt/cdtemp2/dv
|
||||||
|
# Dest is /mnt/cdtemp
|
||||||
|
|
||||||
|
#cd /mnt/cdtemp2/dv
|
||||||
|
# Curdir instead
|
||||||
|
|
||||||
|
# toolame
|
||||||
|
for c in *.wav;
|
||||||
|
do
|
||||||
|
echo '.'$c'.'
|
||||||
|
time lame \
|
||||||
|
--disptime 2 \
|
||||||
|
-q 4 \
|
||||||
|
--vbr-new \
|
||||||
|
-V 3 \
|
||||||
|
-B 196 \
|
||||||
|
$c tmpfile.mp3
|
||||||
|
|
||||||
|
mv -v tmpfile.mp3 $c.mp3
|
||||||
|
#/mnt/cdtemp/audio/$c.mp3
|
||||||
|
|
||||||
|
done
|
||||||
|
ls -alh
|
||||||
|
## --preset BLAH \
|
Loading…
x
Reference in New Issue
Block a user