Well, I'm not sure how this thing should be called.. But I need to read sound file and generate this (in iOS):
It's kinda sound map, or sound diagram...
Thanks!
Well, I'm not sure how this thing should be called.. But I need to read sound file and generate this (in iOS):
It's kinda sound map, or sound diagram...
Thanks!
I am not sure how will you draw the waves but here is a link to apples sample project that will help you get the data to draw the sinusoidal waves.
http://developer.apple.com/library/ios/#samplecode/SpeakHere/Introduction/Intro.html
I think you can use the bezier curves to draw a sine wave by using the data gathered from the above code sample.
A more common terminology for your sound file image is "waveform", or a plot of the amplitude of the raw waveform with a shortened time axis. This is easiest to do with uncompressed audio files, such as in .WAV format, where you can just read the PCM values and plot them.