110 likes | 125 Views
Explore sound files, record, convert formats, analyze with FFT in Matlab & Python. Convert to wav for post-processing.
E N D
Special Topic 1 Processing Sound Files Matlab & Python The most interesting sounds are those which have sine tones
For Android Users Allows sound recordings to be transferred in *.ogg format via Email. Similar apps appear to be available to iPhone & Apple Devices
Audio File Formats There are many types of formats. Common ones are: *.mp3 - MPEG Layer III Audio - compressed format - popular for CDs *.ogg - Ogg Vorbis - open source - compressed format - Archos and Samsung *.wav - large file sizes, convenient for conversion to ASCII text http://en.wikipedia.org/wiki/Audio_file_format
Conversion Need data in *.wav format for digital post-processing Use conversion utility such as: • Online conversion: • http://www.zamzar.com/ • Download freeware audio editor: • http://audacity.sourceforge.net/
Matlab Utility Sample file: crj900.wav vibrationdata > Miscellaneous > Sound File Editor > Read wav File Read wav file then Export to Matlab (one or two channels)
Sample Sound File, Two Channels Read into Matlab. Then Export to Workspace File: crj900.wav - noise inside aircraft cabin due to engines, etc.
Matlab Fast Fourier Transform Each turbofan engine has two rotors. N1 Fan - 104 Hz N2 Core - 252 Hz Engines were at 85% power for this recording. vibrationdata > FFT - input one of the sound channels
Python Utility Sample file: crj900.wav vibrationdata > Miscellaneous > Sound File Editor > Read wav File Read wav file then Save to Text (one or two channels)
Python Fast Fourier Transform vibrationdata > FFT - input one of the sound channels