0
0

Is is possible to get the spectrum (different frequency bands) of a signal that is on the line-in of your soundcard.
I don’t think so because the signal then must be analysed “real-time” !

Can someone help me?

  • You must to post comments
0
0

if i’m not mistaken, there is a sample with the fmod api that shows how to record from the Line-In and immediately play it to a stream callback.
You can then use the getspectrum function to get the spectrum.
Note that currently the streams delay is 100 ms and the minimum fmod latency is 50 (or 25?) ms.
Brett said in some reply that FSOUND_Stream_Setbuffersize was going to be added, and I hope it would allow streams with buffer sizes of 50 or less.
Then you could do a realtime spectrum analysis.

  • You must to post comments
0
0

Thnx adion,

Good tip, i’ll go and try!

Chris

  • You must to post comments
0
0

sample/stream/whatever,
the most important thing was that it was possible :smile:

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.