PWM compressor besides Mantis 2?
-
- KVRian
- 724 posts since 15 Feb, 2012 from France
-
- KVRist
- Topic Starter
- 410 posts since 14 Sep, 2016
Thanks for chiming in, jens! I'm intending on working with the PYE/PIE and Mantis2 at the moment. I was wondering that too about the PYE - was just watching Eddie Kramer praising it and was using it decades ago, so I can't imagine the older PWM compressors couldn't be modeled now.jens wrote: Tue Apr 27, 2021 8:16 amNo, I don't think melco_go's remark is absolutely accurate:10bd01 wrote: Sun Apr 25, 2021 11:38 pmInteresting, melco_go! I wasn't aware of this. It sounds like a significant difficulty, making me wonder how good these emulations may be.meloco_go wrote: Sun Apr 25, 2021 10:04 pm True PWM is hard to do in digital. For it to make sense the control path needs to operate at a frequency much faster than the audio sample rate.
from the Dave Hill paper linked to above:
(take note kids: language skills are not the only path to a successful careerThe modern PWM gain control circuit design has the advantage of being able to use current technology, very high speed parts. They were not available 20 years ago or were very costly and power hungry. Components that can switch between off an on in less than 1nS, that are suitable for build a switched gain control element are now available)
So yes, it might prove to be very difficult to emulate this Crane Song PWM compressor as software (if possible at all) but on the other hand the Pye is age old (a lot more than 20 years or 30 years old (no idea when that paper actually has been written)), so it's absolutely safe to say that its switching works at a significantly lower speed (with the resulting artifacts propably being part of its desired character) and therefor will also be a lot easier to emulate as software.
Btw: I assume that a FPGA might come to the rescue in regards to solving potential speed limits with "software" emulations.
Mantis2 appears to be sampled off of a PWM comp designed specifically to be sampled from, so it's a bit more opaque in terms of what's going on there and what I'll be getting.
-
- KVRian
- 806 posts since 21 Sep, 2008
Well, I did some googling and people say the frequency of the PWM oscillator in PYE compressor was 250 kHz.
https://gearspace.com/board/showpost.ph ... tcount=154
As for the plugins, I don't think it is necessary to copy the operational principle to produce an emulation.
Also, yeah, it is probably possible to make a PWM circuit operating at a lower frequency and make it output a control voltage for something like VCA. The compression range and attack/release will be limited.
https://gearspace.com/board/showpost.ph ... tcount=154
As for the plugins, I don't think it is necessary to copy the operational principle to produce an emulation.
Also, yeah, it is probably possible to make a PWM circuit operating at a lower frequency and make it output a control voltage for something like VCA. The compression range and attack/release will be limited.
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
So that would be 4000nS/p then... i.e. 1/4000 the speed of the Crane Song STC8 - and still sub-sample speed even @192khz...
but am I wrong in thinking that 6xOS would nontheless make it possible even @44.1khz?
Perhaps the Waves Pie already uses OS for this part of the algorithm?
but am I wrong in thinking that 6xOS would nontheless make it possible even @44.1khz?
Perhaps the Waves Pie already uses OS for this part of the algorithm?
- KVRAF
- 37545 posts since 14 Sep, 2002 from In teh net
I thought PWM stood for pulse width modulation not 'pulse with modulator'?lunardigs wrote: Sun Apr 25, 2021 4:02 pm Dave Hill is the man.
http://www.cranesong.com/pwm_comp.pdf
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
that's certainly a typo worth discussing at length! 
What do you think would be worse: "with" instead of "width", or "widt"? And what is more reprehensible in your opinion:
lack of education or being dyslectic?
Let's discuss this instead of the boring topic at hand!
What do you think would be worse: "with" instead of "width", or "widt"? And what is more reprehensible in your opinion:
lack of education or being dyslectic?
Let's discuss this instead of the boring topic at hand!
- KVRAF
- 37545 posts since 14 Sep, 2002 from In teh net
Huh? I was just asking for clarification - I hardly think he's dyslexic or lacking education (obviously not the case) but did wonder if there was more than one meaning for the term that I wasn't aware ofjens wrote: Wed Apr 28, 2021 8:51 am that's certainly a typo worth discussing at length!
What do you think would be worse: "with" instead of "width", or "widt"? And what is more reprehensible in your opinion:
lack of education or being dyslectic?
Let's discuss this instead of the boring topic at hand!
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
Like there's even just a hint of chance that this is anything other than a mere typo... "pulse with modulator" doesn't even make any sense... besides the paper is full of both spelling and grammar mistakes...
from the same paper btw.:
"This circuit is known as a pulse width modulator"
edit: either way my apologies if you genuinely assumed he might have meant "pulse with modulation" - I will also do my best to avoid making fun of you in the future....
from the same paper btw.:
"This circuit is known as a pulse width modulator"
edit: either way my apologies if you genuinely assumed he might have meant "pulse with modulation" - I will also do my best to avoid making fun of you in the future....
- KVRAF
- 37545 posts since 14 Sep, 2002 from In teh net
Maybe a translation error then?
I just assumed there was some esoteric alternative DSP guru interpretation of PWM I wasn't aware of
I just assumed there was some esoteric alternative DSP guru interpretation of PWM I wasn't aware of
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
I see - I think he may really be dyslectic - the kind of mistakes you can find in the paper won't be caught by correction tools...
with geniusses something like this often kind of comes with the territory (not everyone can be a "jack of all trades, master of none" such as me
).
with geniusses something like this often kind of comes with the territory (not everyone can be a "jack of all trades, master of none" such as me
-
- KVRian
- 806 posts since 21 Sep, 2008
Typically OS goes in the powers of two, so the closest necessary rate should be 8x. I don't know about Pie, OS should yield some latency, does it have it?jens wrote: Wed Apr 28, 2021 7:08 am So that would be 4000nS/p then... i.e. 1/4000 the speed of the Crane Song STC8 - and still sub-sample speed even @192khz...
but am I wrong in thinking that 6xOS would nontheless make it possible even @44.1khz?
Perhaps the Waves Pie already uses OS for this part of the algorithm?
- KVRAF
- 11396 posts since 3 Feb, 2003 from Finland, Espoo
OS does not require any significant latency if you don't care about using linear phase filters.
"Wisdom is wisdom, regardless of the idiot who said it." -an idiot
"They don't ban hate speech; they ban speech they hate." -an oracle
"They don't ban hate speech; they ban speech they hate." -an oracle
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
meloco_go wrote: Wed Apr 28, 2021 3:46 pmTypically OS goes in the powers of two, so the closest necessary rate should be 8x. I don't know about Pie, OS should yield some latency, does it have it?jens wrote: Wed Apr 28, 2021 7:08 am So that would be 4000nS/p then... i.e. 1/4000 the speed of the Crane Song STC8 - and still sub-sample speed even @192khz...
but am I wrong in thinking that 6xOS would nontheless make it possible even @44.1khz?
Perhaps the Waves Pie already uses OS for this part of the algorithm?
No, it is entirely irrelevant what is "typical". It's perfectly possible to have 6x OS. Probably the main reason why it's normally doubling up is because that means shifting the Nyquist limit one octave up, so in the case of using OS to reduce aliasing it probably makes sense - but that doesn't apply here at all.
-
- KVRian
- 806 posts since 21 Sep, 2008
Hmm, you're probably right. However, AFAIK at least sometimes oversampling is done in stages, e.g. twice, then twice to get quad, etc.jens wrote: Thu Apr 29, 2021 9:00 am No, it is entirely irrelevant what is "typical". It's perfectly possible to have 6x OS. Probably the main reason why it's normally doubling up is because that means shifting the Nyquist limit one octave up, so in the case of using OS to reduce aliasing it probably makes sense - but that doesn't apply here at all.
- KVRAF
- 25050 posts since 12 Jul, 2003 from West Caprazumia
I am not a coder at all (I couldn't program "hello world" in any language if my life depended upon it), however if I understood it correctly it can yield a relative effiency advantage in certain cases to do it that way...
