@Orvillain said in Recreating Roland Alpha Juno PWM Saw oscillator - ideas?:
In the context of sawtooth shapes, PWM is really just a per-voice phase reset (IE: Hey.... we've hit our threshold... reset the saw to zero....) - that's how most people do it anyway, iirc. So I actually don't think it would be too hard to add that to the existing waveform generator. If I knew the code, I'd have a go myself!!
I don't think this is how the PWM Saw is created in the AJ2. From the front panel diagrams, and some initial scope readings, it looks more like a regular (non-resetting) saw wave with chunks chopped out of it during each cycle. The chunks chopped out are dictated by a variable pulse-width wave.
This could mean it's even simpler to implement in the Waveform Generator. We would set a duty cycle between 0-100% in the UI and during each generation of the saw (or other shape) wave the code would say shall we output the waveform or silence, based on the duty cycle high/low state.
Does that make sense?
EDIT: this is very simplified, of course, and only takes into account one pulse, but multiplying up to 2/4/8/etc pluses doesn't sound like it would be that much more work.
Also, I have no idea if I'm using any of the correct terminology here. Just words that sound about right! 