0
0

Gooday all, i have a problem ๐Ÿ˜ฅ
I want a DSP with a 3 band equalizer (Bass, Mid & Treble) in C++ to use seperate in each FMod stream.

But the only code i have is this C part, and i don’t know how to use.

[code:2k62ubn6]Removed read below[/code:2k62ubn6]

  • You must to post comments
0
0

It seems to be the sourcecode of the Eq-XMMS plugin :)
Look in the eq.c file, you have to precalculate the gain/Q frequency like this :

[code:ehagvc2c]
void set_eq_value(float value, gint index, gint chn)
{
/* Map the gain and preamp values */
if (index >= 0)
gain[index][chn] = 0.0299995 * value +
0.001 * value * value;
else
preamp[chn] = 0.5 + 0.025 * value;
}
[/code:ehagvc2c]

Don’t forget to call init_iir before doing anything ๐Ÿ˜‰

  • You must to post comments
0
0

Yes it’s the Eq-XMMS plugin since ShiBatch Equalizer has a delay i wanna try thisone.

Thnx Karl

  • You must to post comments
0
0

Hmm OH JOY ๐Ÿ˜†

me found out what the problem was in shibatch DSP 8)

in dsp_superequ.cpp you need to set: [b:wt4l8ed0]equ_init( 8 )[/b:wt4l8ed0] instead of the default equ_init(14) damn it’s working great now with FMOD.

No more Eq-XMMS for me !!!!!

Me gonna edit Shibatch Super Equalizer !!!!!

First with equ_init(14) my P4 2.53 CPU went thru the roof when setting equalizer, now it holds on 10% when i’m setting equalizer realtime (without to press [preview])

Soon i will place my modification online in here.

  • You must to post comments
0
0

Ok here is the source:

DON’T FORGET to read the included:
– readme.txt
– lgpl.txt

[url:20ac3kw1]http://www.mp3tunes.nl/superequ-0.03.rar[/url:20ac3kw1]

Keep in mind that the source of ShiBatch Super Equalizer has LGPL
and give Shibatch all credit he deserves in your application !

[url:20ac3kw1]http://shibatch.sourceforge.net/[/url:20ac3kw1]

  • You must to post comments
0
0

Thanx, i’ll see how it works with fmod :)

  • You must to post comments
0
0

A lot of people said that Shibatch Equalizer needs a lot CPU Power.

NOT, someone tested it for me on a P2 300 and works fast.

  • You must to post comments
0
0

This is not true, the shibatch EQ is HIGHLY optimised and need a litte cpu. Note that you can use the code from the Foobar2000’s SDK player, Peter Pawlowski (the author) optmised a little bit the code and added 32/64 bits resolution to the EQ, get the SDK [url=http://www.foobar2000.org/SDK_0.7b36.zip:1k3j94mr]here[/url:1k3j94mr].

  • You must to post comments
0
0

Uhm… I think 10% on a p4 2.53 is bit high…
I’m using fruity 7-band eq (a vst plugin) in my player and it uses just 2% of CPU power on an Atlhon 900.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.