Simple 3 band equalizer generate audio glitch
Simple 3 band equalizer generate audio glitch
- Subject: Simple 3 band equalizer generate audio glitch
- From: Alessandro Calzavara <email@hidden>
- Date: Fri, 15 Feb 2013 17:30:25 +0100
Hi everyone
I implemented a simple 3 band equalizer (bass, mid and treble) in my audio graph.
The problem I'm having is that when I quickly drag the slider (on the UI) up and down to adjust the gain of one band, I ear an audio glitch, like a bit of distortion on my voice.
The range of the gain is -20..+5 db.
I did a lot of testing to understand where the problem came from but I didn't found the root cause of it.
I know that if I reduce the range of the gain, the problem will be reduced but it still there.
Can you give me some hint on how to look for fixing the problem?
Or tell me what I did wrong in my setup?
The setup of the graph is this:
remote I/O node > first mixer > Equalizer > second mixer
the 2 mixers allows me to handle the different stream formats between the equalizer (32bit float) and the rest of the graph (16bit signed integer)
the console log of the graph (the input part) is this
node 1 bus 1 => node 3 bus 0 [ 1 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer]
node 3 bus 0 => node 4 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]
node 4 bus 0 => node 5 bus 0 [ 1 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer]
The equalizer node has type Effect, subtype NBandEQ with 3 bands
low: low shelf filter at 880Hz
mid: parametric filter at 2200Hz with bandwidth 1.2 octaves
hight: high shelf filter at 4800Hz
Thank you all!
--
Alessandro Calzavara
http://about.me/alessandro.calzavara
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden