|
From: Hendrikus G. <hen...@gm...> - 2012-07-21 04:17:57
|
Michael mkdir spectrogram for f in *.wav ;do sox "$f" -n spectrogram -o spectrogram/"$f.png" ;done And with: display "filename.png" will show you the spetrogram image ore all together: cd spectrogram for f in *.png ;do display "$f" ;done with "alt - f4" you close the image an the nex image will show up. Hendrikus On Sat, Jul 21, 2012 at 4:05 AM, Michael Karr <mic...@gm...>wrote: > Hello, > > I'm new to scripting and I have a large collection of audio files (around > 5000 samples) that I want to produce a spectrogram of. So if I want to > apply the command: > sox $1.wav -n spectrogram -m -o $1.png, > to all the files in my folder, what would be the proper syntax? > > Cheers, Michael > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > > |