How do you send your sidechain to meter? (Compressor gain reduction)
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Title tells everything...
I have issue with my gain reduction meter.Can you give me some tips?
Thanks.
I have issue with my gain reduction meter.Can you give me some tips?
Thanks.
Last edited by tunca on Thu Sep 14, 2017 7:07 pm, edited 1 time in total.
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRAF
- 2256 posts since 29 May, 2012
Add 0 before wikipedia and you'll see some top secret document that otherwise isn't available where you live
https://en.wikipedia.org/wiki/Dynamic_range_compression
https://en.wikipedia.org/wiki/Dynamic_range_compression
~stratum~
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Thanks.stratum wrote:Add 0 before wikipedia and you'll see some top secret document that otherwise isn't available where you live
https://en.wikipedia.org/wiki/Dynamic_range_compression
I already checked that but it's different.
I know how compressors work.I can design my hardwares.I built and sold lots of compressors.
But in DSP,it's really different.My side chain working perfectly but when i call it for metering,seeing strange responses.
For example it shows values without any compression.
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRAF
- 2256 posts since 29 May, 2012
It's not different, look carefully there is a bug somewhere. It's not possible to get this thing wrong, it's very simple.But in DSP,it's really different.My side chain working perfectly but when i call it for metering,seeing strange responses.
~stratum~
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
I believe both have same idea...But i can't figure it out.stratum wrote:It's not different, look carefully there is a bug somewhere. It's not possible to get this thing wrong, it's very simple.But in DSP,it's really different.My side chain working perfectly but when i call it for metering,seeing strange responses.
I will throw away my Mac!
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Do you know Chunkware Simple Compressor?
My starting point is this.
I'm writing spice codes and hardly modifiying it.Envelope,rectifier,signal amp...All components.
If i know how i can add GR meter to Simple Compressor,i can implement to my projects...
My starting point is this.
I'm writing spice codes and hardly modifiying it.Envelope,rectifier,signal amp...All components.
If i know how i can add GR meter to Simple Compressor,i can implement to my projects...
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
Richard_Synapse Richard_Synapse https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=245936
- KVRian
- 1136 posts since 20 Dec, 2010
Why Spice? Start with a basic digital compressor, which is maybe 10 lines of code (or even less). Once you figured that out, adding a meter to a more complex VA emulation should be easy
Richard
Richard
Synapse Audio Software - www.synapse-audio.com
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Why Spice? Start with a basic digital compressor, which is maybe 10 lines of code (or even less). Once you figured that out, adding a meter to a more complex VA emulation should be easy
First of all,why spice?So what are you doing with both spice and chuckware simple compressor?
and why spice indeed, that was a good question.
Cause i'm making analog emulations.Converting spice to DSP.It's easy to me.
I have same issue with simple digital compressor,too.I can't handle GR meter.I'm just trying to call my gain reduction section to meter after rectification but no luck.I can't get normal responses from my side chain.But compressor working with no issue.I'm missing something?
Also i'm trying input - output.It's another simple solution but if input signal goes under -3dB,meter not show correct values.
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRAF
- 2256 posts since 29 May, 2012
OK, I have understood what you were doing.
So you take measurements from a spice simulator, and plug values to the chunkware simple compressor, and call it a model.
You can't handle the GR model, because you don't understand the code.
OK. I'll help you to fix that.
The value you want is here https://github.com/music-dsp-collection ... rocess.inl in this line:
save it to some other variable, and low pass filter it before displaying. (The GR meter needle has some weight).
I'd say, you are pretty brave to found a company using this kind of "modelling" approach. Yes it can work, but it will work without having you in the driver seat. A bit risky if you ask me
So you take measurements from a spice simulator, and plug values to the chunkware simple compressor, and call it a model.
You can't handle the GR model, because you don't understand the code.
OK. I'll help you to fix that.
The value you want is here https://github.com/music-dsp-collection ... rocess.inl in this line:
Code: Select all
double gr = overdB * ( ratio_ - 1.0 ); // gain reduction (dB)
I'd say, you are pretty brave to found a company using this kind of "modelling" approach. Yes it can work, but it will work without having you in the driver seat. A bit risky if you ask me
~stratum~
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Yes...What a shamestratum wrote:So you are converting spice to DSP and can't handle the GR meter? I can't understand that.
What do you mean by converting spice to DSP?
I'm not good with C++ and DSP.But i have knowledge about designing analog hardwares,simulating in spice...As i said i had company.I was building handmade gears for studios.
Spice is code based.I'm converting spice codes and netlists to C++.
For example when i want to use transistor,i'm using spice transistors.But some special transistors are not included to basic spice libraries.So components' datasheets are my best friends...(Also this method usabable for all components.Tubes,resistors,capacitors,transformers etc...)
But i can't handle GR meter...I'm sending GR(which is i'm applying input in sidechain),but can't get correct responses.
I really need help.
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
Yes,i know that "gr" is what i need but it's not working.Can't implement it to my meter.stratum wrote:OK, I have understood what you were doing.
So you take measurements from a spice simulator, and plug values to the chunkware simple compressor, and call it a model.
You can't handle the GR model, because you don't understand the code.
OK. I'll help you to fix that.
The value you want is here https://github.com/music-dsp-collection ... rocess.inl in this line:
save it to some other variable, and low pass filter it before displaying. (The GR meter needle has some weight).Code: Select all
double gr = overdB * ( ratio_ - 1.0 ); // gain reduction (dB)
I'd say, you are pretty brave to found a company using this kind of "modelling" approach. Yes it can work, but it will work without having you in the driver seat. A bit risky if you ask me
http://analogobsession.com/ VST, AU, AAX for WIN & MAC
-
- KVRist
- Topic Starter
- 474 posts since 26 Mar, 2015
I see.stratum wrote:Obviously, that's the risk I was talking about:)Yes,i know that "gr" is what i need but it's not working.Can'tlement it to my meter.
What if i try subtracting output from input?
It shows correct values but not under -3dB.
http://analogobsession.com/ VST, AU, AAX for WIN & MAC