R
RS
Guest
On Fri, 31 Jul 2009 14:15:37 +0100, "ian field"
<gangprobing.alien@ntlworld.com> wrote:
for the gain control element?
Also, if it's high-frequency oscillation, that would imply that your
signal detector is not directly at fault, since it should have a long
time constant. Put a scope on the envelope detector, or take it out
of circuit and put variable DC on the gain controller to see if the
oscillation continues.
If you want to post a schematic, there are a couple binary groups for
electronics. Send it there, then post a notice here.
current signal to the delayed signal to determine the slope. The
comparator would be triggered by the current signal.
switching mechanism. Compressors are generally designed to respond
more quickly to attack than to decay, but they don't work purely by
some binary switch between the two. It's usually something like a
forward diode that does a fast charge-up of a cap, with a resistor for
the discharge path. That automatically accounts for the faster
response to attack. The general topology is known as "peak hold."
If you rectify the audio signal, then feed that to a peak hold
circuit, you'll have a variable DC output that follows the envelope of
the signal. The peak hold 'release' mechanism has a time constant
long enough to smooth out ripple, else you'd just have a rectified
version of the audio.
Sounds like you would benefit from looking at existing compressor
circuits. "Hifi" or studio compressors work the same as guitar
compressors, so check those too.
Here's a start:
http://www.schematicheaven.com/effects.htm
http://www.schematicx.com/
<gangprobing.alien@ntlworld.com> wrote:
Tough to even guess without seeing a schematic. What are you using"RS" <RS@nonspam.com> wrote in message
news:fg3475tf8ao17vuq3g6vhlousemd4n9onk@4ax.com...
On Thu, 30 Jul 2009 21:17:40 +0100, "ian field"
gangprobing.alien@ntlworld.com> wrote:
It may be a different thing entirely, but my compressor project is one
that's actually making decent progress at the moment.
Its another topic I'd welcome any insights - as yet I have no idea how to
design circuitry that distinguishes between attack and decay in a
compressor's gain envelope.
I presume that you're talking about detecting the slope of the
envelope: Up = attack, down = decay. That's easier to do in digital
domain, but in analog, you could try feeding the output of the
envelope detector into a differentiator (like a cap in series) which
will give you a positive pulse for attack, etc. Then feed the diff's
output to a schmitt trigger (opamp with some positive feedback would
do it). You'd get a 1 or 0 for attack vs decay. Problem would be in
tweaking time constants, especially for the differentiator, as the
envelope slope for attack will be sharper than the slope for decay.
At the moment I'm having problems with the variable gain amplifier bursting
into oscillation, I've tried to keep the feedback control as simple as
possible and I'm not sure if its the diode pump amplifier that's oscillating
or the whole loop
for the gain control element?
Also, if it's high-frequency oscillation, that would imply that your
signal detector is not directly at fault, since it should have a long
time constant. Put a scope on the envelope detector, or take it out
of circuit and put variable DC on the gain controller to see if the
oscillation continues.
If you want to post a schematic, there are a couple binary groups for
electronics. Send it there, then post a notice here.
That would not contribute a delay. I was talking about comparingAnother possibility, though I've never tried this: Feed the envelope
into something that will delay it (like a low-pass filter, if you can
live with the inconsistent phase delay). Then run both the delayed
and non-delayed signals into a comparator. This would probably get
tricky.
Delayed AGC would cause the strike of the note to be un-attenuated followed
by the quieter flat portion, I anticipate this being a big enough problem
without doing things that make it worse.
current signal to the delayed signal to determine the slope. The
comparator would be triggered by the current signal.
"Distinguishing between attack and decay" implies some binaryWhy are you trying to distinguish between attack and decay?
Some crazy notion I got doing an internet search for any info I could find
on guitar compressors.
switching mechanism. Compressors are generally designed to respond
more quickly to attack than to decay, but they don't work purely by
some binary switch between the two. It's usually something like a
forward diode that does a fast charge-up of a cap, with a resistor for
the discharge path. That automatically accounts for the faster
response to attack. The general topology is known as "peak hold."
If you rectify the audio signal, then feed that to a peak hold
circuit, you'll have a variable DC output that follows the envelope of
the signal. The peak hold 'release' mechanism has a time constant
long enough to smooth out ripple, else you'd just have a rectified
version of the audio.
Sounds like you would benefit from looking at existing compressor
circuits. "Hifi" or studio compressors work the same as guitar
compressors, so check those too.
Here's a start:
http://www.schematicheaven.com/effects.htm
http://www.schematicx.com/