InverseRIAA Generators
Posted: Mon Dec 12, 2011 5:38 pm
I noticed we have several essentially identical Inverse RIAA generators being used, so I thought I'd do a sort of universal one. Place the attached INVRIAA.ASY file in the spice library symbol directory (under "special functions" is a good choice), and the attached INVRIAA.TXT file in the "sub" directory.
I have implemented both with and without the 50kHz pole generators. One set has a built in AC and sine generator, so all you have to do is hook up the output you want. Another set has an input so you can use your own source to drive the inverse RIAA generators.
You can use either or both outputs or either or both types of generator. If you don't want to use something, simply don't hook anything to the pins. (Yes, she thought to internally terminate the generators so you can leave open pins).
The inverse RIAA generators are scaled so that there is "unity gain" at 1kHz. So if you put in a 1mV signal, you will get 1mV at 1kHz.
The ones with the internal generator produces 1kHz, 1mV if you do transient analysis, and 1m "gain" for AC analysis. (So that at 1kHz, with no GAIN, you will get -60dB at 1kHz. In other words, the output is scaled to 0dB = 60 dB gain.
Enjoy,
Stephie <3
I have implemented both with and without the 50kHz pole generators. One set has a built in AC and sine generator, so all you have to do is hook up the output you want. Another set has an input so you can use your own source to drive the inverse RIAA generators.
You can use either or both outputs or either or both types of generator. If you don't want to use something, simply don't hook anything to the pins. (Yes, she thought to internally terminate the generators so you can leave open pins).
The inverse RIAA generators are scaled so that there is "unity gain" at 1kHz. So if you put in a 1mV signal, you will get 1mV at 1kHz.
The ones with the internal generator produces 1kHz, 1mV if you do transient analysis, and 1m "gain" for AC analysis. (So that at 1kHz, with no GAIN, you will get -60dB at 1kHz. In other words, the output is scaled to 0dB = 60 dB gain.
Enjoy,
Stephie <3