1 / 11

Sound File Processing in Matlab & Python

Explore sound files, record, convert formats, analyze with FFT in Matlab & Python. Convert to wav for post-processing.

jpaine
Download Presentation

Sound File Processing in Matlab & Python

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Special Topic 1 Processing Sound Files Matlab & Python The most interesting sounds are those which have sine tones

  2. Record Sound with Your Device

  3. For Android Users Allows sound recordings to be transferred in *.ogg format via Email. Similar apps appear to be available to iPhone & Apple Devices

  4. 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

  5. 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/

  6. CRJ-900 – Cabin Noise Example

  7. 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)

  8. Sample Sound File, Two Channels Read into Matlab. Then Export to Workspace File: crj900.wav - noise inside aircraft cabin due to engines, etc.

  9. 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

  10. 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)

  11. Python Fast Fourier Transform vibrationdata > FFT - input one of the sound channels

More Related