Some useful scripts for audio
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
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
Creating several file segments from one audio file.
python segmentation/segment_audio.py
You can change the segments, for example, adding 0.3 seconds at the end of each segment.
python segmentation/change_segments.py
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
Download audios from youtube:
python others/download_audio_from_youtube.py --input_file links.txt --output_dir videos
Download videos from youtube:
python others/download_video_from_youtube.py --input_file links.txt --output_dir videos
53 commits
Python
100.0%
Some useful scripts for audio
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
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
Creating several file segments from one audio file.
python segmentation/segment_audio.py
You can change the segments, for example, adding 0.3 seconds at the end of each segment.
python segmentation/change_segments.py
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
Download audios from youtube:
python others/download_audio_from_youtube.py --input_file links.txt --output_dir videos
Download videos from youtube:
python others/download_video_from_youtube.py --input_file links.txt --output_dir videos
53 commits
Python
100.0%