This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script will create a Collection.csv file with the following format: | |
# "/path/to/music/file",type,rate,duration,bitrate | |
# Note: ffmpeg needs to be installed (for ffprobe command) | |
# 1. number of files of each type (mp3 160, 192, vbr, 320; aac 192, 256) | |
# 2. average duration of tracks (of files of each type) | |
# 3. from 1. and 2. and using http://www.theaudioarchive.com/TAA_Resources_File_Size.htm |