HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Sep 25, 2003, 10:59 AM   #1
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

rolleyes Side-chain insert possible???

Hi all DSP programmers!

I´m too fresh at this area to make my wish come true, so now my question to YOU :

Is it possible to modify the APS-Compressor and APS Expander with a side-chain insert to get more functionality? I want to control the sound-processing over an external filter so that the process reacts inside a special audio frequency range. The sound passing through the comp/exp. should not be affected of this, only the processing of it.

Please think about it, ´cause it can be very helpful for some materials...


Thanx in advance!

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote


Old Sep 25, 2003, 02:52 PM   #2
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

I am 99% sure that eYagos made such feature in his compressor, but I cannot seem to find it anywhere (are you reading this eYagos?). Don't know why it is not part of the standard kX Effect package

/Soeren
Soeren_B is offline   Reply With Quote
Old Sep 25, 2003, 04:51 PM   #3
DriverHeaven Addict
 
Join Date: Feb 2003
Location: slovenia
Posts: 269
Rep Power: 0
kokoon is on a distinguished road

there's a freq splitter...
__________________
[kokoon]
kokoon is offline   Reply With Quote
Old Sep 25, 2003, 10:15 PM   #4
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

>> Don't know why it is not part of the standard kX Effect package

either I haven't got the source code from eYagos, or I lost it somewhere on my HDD
so, I'll gladly accept it once again

/E
Eugene Gavrilov is offline   Reply With Quote
Old Sep 26, 2003, 08:24 AM Threadstarter Thread Starter   #5
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

Oooh ,

fine that you never leave me alone. It is not soooo important yet, but it would be nice. So don´t stop all your life around for that, i can wait a little...


Thanx in advance!

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote
Old Sep 26, 2003, 03:53 PM   #6
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Well, I don't have a life ATM

Please test this

http://www.cvmt.dk/~sb/apscomp_sidechain.zip

It doesn't replace the current APS compressor but creates a new instance called APS Comp. (SC).

It is still experimental but please report any issues. Perhaps the side chain input needs a gain control - on the other hand there are plenty of gain plugins in kX already

NOTE: It is compiled with 3534 SDK. If you have problems you should install this driver version (or whine here and I'll see what I can do).

Cheers
Soeren
Soeren_B is offline   Reply With Quote
Old Sep 27, 2003, 04:40 PM   #7
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Changed the name to APS Compressor+

It will still not replace the current APS compressor and it is still for kX version 3435 (no dodgy betas on my machine )

Download link is the same

/Soeren
Soeren_B is offline   Reply With Quote
Old Sep 28, 2003, 12:38 AM   #8
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

bundled with 3535b release

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old Sep 28, 2003, 03:14 PM Threadstarter Thread Starter   #9
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

Hi Soeren!

Very special thanx for your quick response and working. I got the plug and tested it on my system (ver.3534f). It is running, but without any function. Only "Threshold" and "Ratio" are working like volume-faders (no dynamic processing). There is no matter what I do with the side-chain inputs. If I understand it right: the filter should be inserted between audio source and side-cain in, correct? At my hardware-compressor the side-chain is an insert (that´s the why I ask). But anyway - the plug want not really processing anything yet. The ordinary APS-compressor runs well.

Please let there be a light...

With best regards!

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote
Old Sep 28, 2003, 05:03 PM   #10
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Well, I have it working just fine....

I tested it by connecting a signal (saw or square from the wave generator) to the main input and some dynamic music to the SideChainL/R inputs and analyzed the output.

See this picture:
http://www.cvmt.dk/~sb/test.png

The signal from the wave generator is compressed according to the levels of the music. This is visualized in the CoolEdit window in the background - (if not compressed the result waveform on 'left' track in the main CoolEdit window would be flat).

Before the signal is sent to the Side Chaing input it is filtered with a Phat EQ Stereo plugin. It will seriously demolish the sound an create an enormus filter resonance at the cutoff frequency (using a LP or HP filter) . This is usefull for triggering the compresser using certain specified frequencies.

HTH
Soeren
Soeren_B is offline   Reply With Quote
Old Sep 29, 2003, 06:35 AM Threadstarter Thread Starter   #11
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

Hi Soeren!

Hmm, some mystic things are happen sometimes... OK, I will take some more time and check it out. The test yesterday was a clean audio test over half an hour and my ears said nothing in a point of dynamic processing. Possibly my ears are not the right way to test... I send a message if I know more.

CU here...

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote
Old Sep 29, 2003, 08:24 AM   #12
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Well, It way also be that this side chain compression does not work as you expect. It may need some tweaking, so report how you'd like it to behave and let's discuss it.

Cheers
Soeren


A side note: You can try and insert a gain plugin between the filter and the side chain input and crank this up to max level.

Last edited by Soeren_B; Sep 29, 2003 at 02:43 PM.
Soeren_B is offline   Reply With Quote
Old Sep 29, 2003, 06:28 PM Threadstarter Thread Starter   #13
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

Yes,

here are my testing results: no change . It is just like I said yesterday. I tried all possible tweakings, feeded all inputs with different signals on different levels up to the max. But no effect in the main path, no matter what´s at the side in. And only significant functions with "Thres." and "Ratio" and "Gain" like volume faders - no dynamic processing there. I´ve recorded the outs and analyzed the wave - but even nothing of any effect. Just clear input waveforms. With the installation and registration of the plug were no problems. My expectation is, simply formulated, to process one signal dynamically with a second. The second can be the same as the first, after it is passed through a filter or other eq. So couldn´t it be possible to disconnect the internal "sense-wire" from the main input and wire it out to a 2nd in? I don´t know if this is exactly that what you´ve done. In a hardware device it is no problem for me, but virtually a solder iron wouldn´t work. So please say to me what´s wrong with pluggy (or am I...?).

With best regards!

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote
Old Sep 30, 2003, 01:00 PM   #14
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Hi again,

I did some more testing and found that you have to use both side chain inputs for it to work (you may just use the same signal twice if mono). I think the fault is on my side and I will investigate further.

Added: A stupid error in the source code was corrected and now even I can hear the side chain effect. Please test this

http://www.cvmt.dk/~sb/apscomp_sidechain34.zip
http://www.cvmt.dk/~sb/apscomp_sidechain35.zip

There are 2 versions (for version 3534 and 3535b (latest))

Cheers
Soeren

Last edited by Soeren_B; Sep 30, 2003 at 01:26 PM.
Soeren_B is offline   Reply With Quote
Old Oct 1, 2003, 06:35 AM Threadstarter Thread Starter   #15
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

Hi Soeren!

I´ll check that and if it works you will get a big bunch of flowers . Please wait a moment...

... testing time...


YEEEEES, it works! Great!!! Now my biggest problem is a narrow notch filter which will eliminate all signals outside of the notch (e.g. more like a peak) to set the range of the compressing process. The current filters won´t work for this task ´cause they let pass through other frequencies and "simply" amplify or attenuate the specified ones. Is this also possible? (Sorry if I talk a little bit confuse, but my english is not theoretical enough ).

Greetings and thanks so lot yet!

TravelRec.
__________________
Always take a look behind.


Last edited by TravelRec.; Oct 1, 2003 at 01:05 PM.
TravelRec. is offline   Reply With Quote
Old Oct 1, 2003, 02:00 PM   #16
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Great!

If you need to remove lotsa frequencies and concentrate on a narrow band you should use a band pass (BP) filter. There is one in the EQ section and a double BP in the Phat Filter. I also think there is BP in Max's 5 band parametric filter.

If the signal nees some boost you can use a gain afterwards.

Oh, you can also experiement with delay (plugin) to time the attack of the compressor if you delay the signal you want to compress

Cheers
Soeren
Soeren_B is offline   Reply With Quote
Old Oct 1, 2003, 02:06 PM Threadstarter Thread Starter   #17
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,710
Rep Power: 0
TravelRec. will become famous soon enoughTravelRec. will become famous soon enough

WOW!

THAT WAS QUICK !!!

Yes I will do so and many many thanks! The bunch of flowers I will send you via mail!!!

TravelRec.
__________________
Always take a look behind.

TravelRec. is offline   Reply With Quote
Reply

Thread Tools