Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Audio Scripts

Some useful scripts for audio

Conversion

Audio Format

Convert mp3 format audio to wav format:

python conversion/convert_mp3_to_wav.py

Convert wav format audio to mp3 format:

python conversion/convert_wav_to_mp3.py

Wav Sampling rate

Convert sampling rate using sox:

python convert_sample_rate_with_sox.py

Convert sampling rate of a folders hierarchy reading files list from metadata file using librosa:

python convert_sample_rate_from_csv_with_librosa.py

Segmentation

Segment wavs

Creating several file segments from one audio file.

python segmentation/segment_audio.py

Change Segment wavs

You can change the segments, for example, adding 0.3 seconds at the end of each segment.

python segmentation/change_segments.py

Normalization

Normalize audios by mean dBfs.

python normalization/normalize_audios_by_dbfs.py

Normalize audios by max volume using pydub.

python normalization/normalize_audios_by_max_volume.py

Others

Download Audios from Youtube

Download audios from youtube:

python others/download_audio_from_youtube.py --input_file links.txt --output_dir videos

Download Videos from Youtube

Download videos from youtube:

python others/download_video_from_youtube.py --input_file links.txt --output_dir videos

About

Some useful scripts for audio

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages