Quote Originally Posted by Jazzmarazz View Post
I realize no one cares, but I have had some success before bed. It makes me happy.
This is my circuit as mentioned above. It accepts any ac or dc input, centers it on zero, reduces the gain and then allows for the user to set the offset and gain of the output. by reducing the gain originally, I am able to output a signal both quieter or louder than the original input. Here is a photo showing different uses, emulated in LTSpice.
Spoiler warning:




The blue wave is the input. As you can see it is an AC sine wave with an amplitude of 8v and a DC offset of +3v. The pink wave is the reduced amplitude with a DC offset of -3v set using the left-most potentiometer. The green wave is the final output which has a gain of 1.1 applied. This gain is determined by the right-most potentiometer. The offset is also amplified unfortunately. I may switch the gain and offset sub-circuits at some point, but it works for now.

Next I will add two more op amps to act as LED drivers. They will be set up as differential amplifiers with zero negative feedback, resulting in comparators. I will feed my output signal into the comparator along with my +/-12v rails, so when the difference of the two is positive, the output will toggle between zero and one, digitally speaking. Doing so allow for the user to see when the output is clipping, which would result in a shallow sound.

Ultimately the user will be able to amplify and offset the output for whatever device they plan to wire it into down the road and can change it when they want to plug it into another.
I think I will remove the DC blocking cap at the input so taht users can feed DC values into the system and offset them anywhere they like.Alternatively I could wire up a 1v source to the internal switch of the input jack so when no input is connected, it will out put a DC value with definable offset...I NEED TO SLEEP! If I keep getting new ideas, I never will.
Fix me a sammich.