Jump to content
Video Files on Forum ×

PWM


Recommended Posts

I came down pretty hard on the XW's pulse-width modulation implementation in a couple of posts a while back. I'm sure at least a few readers were thinking "What's his beef?" To clarify what I meant I have attached here a zip archive containing two files that demonstrate what PWM sounds like on the XW and what it is supposed to sound like. These are solo synth sounds.

The first, "PWM Broken.ZSY", implements full-range PWM using oscillator 1. The second, "True PWM.ZSY" is a technique that simulates full-range PWM using two oscillators, one playing a sawtooth waveform and the other a ramp waveform. To compare them drop them in adjacent memory locations in the XW (they were created on an P1 but I believe they will also work on a G1) and alternate between them while playing note C4. (The patches only match on that one specific note).

What you will hear from "PWM Broken.ZSY" is a distinct "graininess" as the pulse width is swept from minimum to maximum. In contrast "True PWM.ZSY" sounds very smooth. It also actually drops out briefly as both waveforms completely cancel at one point. That is unavoidable with this simulation and is arguably not ideal for a PWM sound. Note that I don't believe the "True PWM.ZSY" patch is of any real use primarily because the modulation rate of the pulse width varies linearly with pitch (it doubles every octave). The modulation rate of PWM is supposed to be the same for every note.

Does the graininess make the XW's PWM unusable? Not if you keep the amplitude of PWM low (the examples were full range). But another problem becomes audibly apparent above about C5: aliasing. In my opinion the two artifacts combined render PWM useful only for making bass notes fatter. Maybe that's all Casio had in mind for it.

PS. if you can find something I did wrong in the "PWM Broken" patch please let me know. I would be very happy to find out that PWM does work properly after all.

PWM comparison.zip

  • Like 3
Link to comment
Share on other sites

  • 6 months later...

I gave your suggestion a try. What I got was just a duller sound with the same grainess and aliasing. The artifacts didn't go away.

 

Like I said, PWM on the XW is suitable only for fattening up bass sounds IMHO. But for that one application it does work well. Maybe Casio will get it right in the XW's next incarnation. Despite my yapping about this problem it's really only a minor disappointment. I have moved on to bitch about other things. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.