Datasets:

Formats:
json
Libraries:
Datasets
pandas
License:
File size: 577 Bytes
f14f466
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -       
#title           :conver_audio.sh
#description     :This script will convert all audio files of the dataset from mp3 to wav.
#author		 :richard vogl ([email protected])
#date            :2015 07 17
#version         :0.1    
#usage		 :bash conver_audio.sh
#notes           :uses sox
#bash_version    :3.2.57(1)-release
#==============================================================================


for file in ./audio/*.mp3; do
    printf "Converting : ${file} ..."
    sox $file ${file%mp3}wav rate 44100 gain -0.1 remix -;
    printf " done!\n"
done;