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
### Generate PNG spectrograms using SoX | |
### Use the input file name as the title within the image as well as the output file name | |
### Set the width to 2000 (seems to output a ~2140px wide image) | |
### Generate for five arguments, | |
### arg 1 = file type to make spectrograms from, e.g. .wav, | |
### arg 2 = width of the spectrogram | |
### arg 3 = hight of the spectrogram | |
### arg 4 = the dB level of sounds to pick out, ignoring sounds below that threshold | |
### arg 5 = the frequencies to hone in on e.g. 4k will give you a spectrogram that draws sounds up to 2k |