0
0

I have a 15 minute, stereo mp3 file which contains a carrier wave, with binary data encoded in it. I understand the theory behind carrier waves, and sound programming, but I don’t have a clue how to get the amplitude, wavelength, etc. of the audio data once I’ve loaded it. Is it possible to do this in FMod, for example, by loading the mp3 as a sample in memory, and then messing around with the data?

I do most of my work in VB, but I can use C for this if necessary. Any tips or links to good reference documents would be greatly appreciated.

  • You must to post comments
0
0

I don’t know anything about Carrier Waves, but I think you mean you just need the amplitude data, which can be done by using a simple DSP unit (check the manual and the examples for DSP)
I also have an example on how to create a dll in c for the effects that can be used in visual basic.

  • You must to post comments
0
0

I’d use that, but i don’t want to play back the audio (It’s 15 minutes long, after all) and I don’t want to miss ANY of the samples.

  • You must to post comments
0
0

I don’t think you miss any samples in a stream dsp, but I’m not sure.
Anyway, as I think brett has mentioned before somewhere, fmod is a sound/music sdk, but is not meant as audio decoder or such.

  • You must to post comments
0
0

Cool, that’s what I thought. :smile:
Thanks for the warning, I figured as much :smile:

I remembered reading about the Sample_Lock and Sample_Unlock functions before. :smile:

  • You must to post comments
0
0

I got it working in about an hour… I’ve got a VB app that can load audio files (even ones as big as 150mb) and display the waveforms in the file. It’s pretty fast, too. Now I’ve just got to figure out how to get the data out of this sound file ^_^

FMod really can do anything, I guess! 😀 Thanks for all your help.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.