-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ideal VCA component #191
Comments
I like that idea :) |
I think adding a component for this makes sense. I'd need to do a bit more reading of the datasheets to learn exactly what the model would be. BTW, if you are itching to have one of these right away, we do have everything you would need to implement this as a schematic: the "Named Voltage" and "Named Current" components can be used with voltage/current sources to produce voltages/currents with arbitrary expressions. The Op-amp model example shows how this is done in that case, I think this component would be similar. |
Thank you @dsharlet, I wasn't aware there were abitrary voltage and current sources capable of this. They work for me for simulating a particular circuit I was searching the VCA model for. I never bothered modeling the VCA internals when designing compressors or noise gates or voltage controlled filters with VCAs in SPICE. They have relatively low noise and distortion anyway. I think an ideal VCA model would be enough for most people. Here's the VCA model I've used:
|
This stuff is great, I already found two bugs :) One in computer algebra - this circuit does not work without the delay buffer: |
I just pushed a fix for the computer algebra breakage, we were missing a rule for derivatives of Pow. |
An ideal VCA component with a gain/voltage parameter would be useful for designing compressors, gates etc. These are typically current in / current out devices where the current relation is Iout/Iin =10^(Vc*K) where Vc is the voltage at the control port.
See for example SSI2164 or THAT2180 datasheet for reference
The text was updated successfully, but these errors were encountered: