Automatic band equalizer on a recording channel

Started by Jcl,

Jcl


 Hello. I was wondering if it'd be possible with Bass to add a parametric equalizer to a recording channel automatically (like you'd usually do to a playing channel using DX8 parametric eq). I was just going to code the band equalizer myself, but thought it might already be done. For what I read on bass documentation, DSP or DirectSound FX processing is only allowed on HMUSIC and HSTREAM but not on RECORDCHAN.

 Any info or something that might guide me around?


Jcl


 Yes, but you need a decoding channel for that. I don't want to play the modified stream at all, what I need to do is having the FFT and wave data from the modified channel. In case I use a decoding stream, I can't get the output data after the effects, can I? I don't really need (or want) to store the data at all. Just modify the incoming wave and get appropiate results.

 Can I create a decoding channel, pass the recorded data (on the recordproc) to it, apply the effects, then do a ChannelGetData on the stream after the effects are applied? I could use this (if it's supported on decoding channels), but still see that as a pretty weird solution. Should I go this way?

 Thank you Ian :-)

Jcl

By the way, I was going to implement the band-eq myself (it doesn't really need to be perfect, it's just modifying plugins), so if this would be that much complicated, I'll probably prefer just to make a quick pass over the recorded data with precalculated multipliers.

What would really be nifty for this is having floating point recording channels... perhaps for 1.9? :evil:

Ian @ un4seen

QuoteCan I create a decoding channel, pass the recorded data (on the recordproc) to it, apply the effects, then do a ChannelGetData on the stream after the effects are applied? I could use this (if it's supported on decoding channels), but still see that as a pretty weird solution. Should I go this way?
Yes, see the code in that thread. You don't play the custom decoding stream - you just pass the recorded sample data through it. The FX/DSP are all applied in-place, so it's very efficient (just like applying FX/DSP directly to RECORDCHAN), even if it does seem "pretty weird" :D

QuoteWhat would really be nifty for this is having floating point recording channels... perhaps for 1.9? :evil:
You can do floating-point recording in 1.8 :)