You getSpectrumData or getWaveData and draw a line between each point.
It’s a good idea to normalize the data on spectrum (and even wave) to make sure the variation is large enough to be visible.
Also, for spectrum, It’s a good idea to only draw the first half as the data near the end rarely has "displayable" information.
- icuurd12b42 answered 10 years ago
Use sound->readData() or sound->lock(). Also search the forum for "waveform". See also [url:2kdm5x3z]http://www.fmod.org/forum/viewtopic.php?t=4001&highlight=waveform[/url:2kdm5x3z] or [url:2kdm5x3z]http://www.fmod.org/forum/viewtopic.php?t=4908&highlight=readdata+format[/url:2kdm5x3z]
- mylo answered 10 years ago
Please login first to submit.