0
0

Please exuse my ignorance here but, I believe the above function would help me build some type of graphical display for sound, such as some bars flahsing and whatnot. Am I wrong? If not do I need to implement some type of filters to do so? If not how can this be done and if so where can i get some materials or resrouces and finding some filters.

Thanks in advance.

++Cire.

  • You must to post comments
0
0

So you can use it for each individual stream also? And is it possible to manually change the frame size of the fft?
Anyway, thanks a lot already for putting this into fmod!

  • You must to post comments
0
0

I say again… oo-err! :smile:

Can’t wait to get my hands on that and make some pretty pictures. :smile:

  • You must to post comments
0
0

This function can be used to give the user an idea of wether a channel is playing or not :smile:
It’s not a very accurate VU-meter, but it’ll do the job. Just draw a bar with a height depending on what this function returns (between 0 and 1).
To smoothen the display out and make it more realistic, you should make your VU drop slower than the GetCurrentVU does.
Here’s a small example of what you could do :

TempVU = GetCurrentVU(MyChan);

if (TempVU > MyVU)
MyVU = TempVU;
else
MyVU = MyVU – (MyVU – TempVU) / 5;

Changing the 5 depending on the speed you refresh your display will make it drop smoother.
I don’t know if there’s a real rule to get a realistic display, but this does the job.

  • You must to post comments
0
0

No, I don’t think it is required to have the framesize changeable.
If you can just make it that you can add it to the stream dsp chain it’s ok for me.

  • You must to post comments
0
0

I got this part, i just can’t understand how to make multiple bars, for example if u look at a stero or some of the good mp3 players out there they have a nice graphical eq of like 10 or 20 bars, it is this that i’am tring to duplicate, i’am pretty sure irequires some type of filtering but i’ve no idea if i’am targeted in the right direction or not.

I’ve been searching for a decent example of how to do this type of meter based on the sound outgoing for awhile but alas it eludes me.

All help is greatly appreciated.

Thanks

++Cire.

  • You must to post comments
0
0

Could you be so kind as to point me in the direction where I might attain such information, resources, ect.

Do you know of any good 3rd party software that might accomplish this?

As always thansk in advance.

++Cire.

  • You must to post comments
0
0

I have tried to accomplish a spectrum analyser using the fftw library for doing fft. You will at least need to make your own streaming dsp callback, do some buffering, and I think for good results you have to do some kind of oversampling, but I haven’t found out how to do that yet…
If I once finish a decent spectrum analyser, I’ll add the dll to my vb sample, so everyone can easily use it.
If someone can help out, please do…

  • You must to post comments
0
0

Hey thanks, and if I figure one out first, i’ll pass the source on to you, really appreciate the examples.

++Cire.

  • You must to post comments
0
0

You rock! Any chance u could do this as a C++ dll so that us VB users could use it?

++Cire.

  • You must to post comments
0
0

don’t worry, i can do the C++ DLL for VB users.

  • You must to post comments
0
0

Oo-err… spectrum analyser… :smile:

  • You must to post comments
0
0

So you can use it for each individual stream also? And is it possible to manually change the frame size of the fft?
Anyway, thanks a lot already for putting this into fmod!

  • You must to post comments
Showing 12 results
Your Answer

Please first to submit.