It’s actually pretty easy to get the data, all you have to do is create an array of 512 floats (Eg. Dim Spectrum(0 to 512) as Single). This will give you the entire spectrum range of 512 bars, if you want to narrow it down to something smaller, like 128 bars, you can do that. After the array is made, just use Getspectrum (which is in the VB Fmod Module) as so, Call Getspectrum(Spectrum), and this will fill your array with the spectrum data, which you can plot to a picturebox. It’s really the plotting of the spectrum that takes a while to do.
- Paranoid_Android answered 14 years ago
Please login first to submit.