PWM: what does it stand for?

Discussion relating to the Korg Kronos Workstation.

Moderators: Sharp, X-Trade, Pepperpotty, karmathanever

Post Reply
AdDeRoo
Platinum Member
Posts: 524
Joined: Wed May 20, 2009 12:56 pm
Location: Northern Italy

PWM: what does it stand for?

Post by AdDeRoo »

Just out of curiosity: Would anybody know what the PWM in many factory programs stands for?
Ad

Current gear : Korg Kronos 88 (SN 0979) / Nektar LX88+ / Korg PA2X / Kurzweil K2500R / Korg Nanopad2 / Neo Ventilator / Akai EWI USB / Cantabile / Reaper / Cakewalk / Reason / way too many VST's
User avatar
section4
Posts: 42
Joined: Thu Jul 09, 2009 6:25 pm
Location: Stockholm, Sweden
Contact:

Post by section4 »

Pulse Width Modulation

:)
/ M
<a href="http://section4.se">section4.se</a>
Korg Gear: Kronos 61, M3 61, MicroSampler, Z1m mkII, MS-20 Mini, ES-1 mkII
Other gear: Akai S6000, Akai VX90, Kawai K5000S, Virus TI, Roland D-110, Roland MKS-30 + DT200
Sparker
Senior Member
Posts: 483
Joined: Thu Feb 26, 2009 5:57 pm
Location: Wales UK

Post by Sparker »

PWM is applied to the oscillators to give a time varying change to the sound of the oscillators.

There is a table on Page 187 of the Parameter Guide that gives an indication of what types of oscillator modulation can be used.

Some TLA (Three Letter Acronyms) that it's useful to understand are:

PWM - Pulse Width Modulation
PCM - Pulse Code Modulation (the audio samples sometimes used for oscillators)
AMS - Alternate Modulation Source (again see Pg 187 of the Parameter guide)
MG - Modulation Generator - A 'general' Modulation source for the MS20 and Polysix engines
VPM - Variable Pulse Modulation - Korg's version of FM (Frequency Modulation [cross-oscillator-modulation]
VPL - what you don't want when playing live ... :wink:
Kronos 61 & KK KARMA / Triton Ex c/w MOSS and TR KARMA / MS2000 / Radias / Kaossilator Pro & Kaossilator / Korg Kontrol 49 / Nanopad / Novation Nova / Waldorf Blofeld

Line 6 Flextone XL / Line 6 POD XT / Roland V Bass / Ampeg Portabass & Cab / Assorted Guitars (no whammy bar) ... and a Fender Champ ...
User avatar
MarPabl
Platinum Member
Posts: 938
Joined: Sat Sep 24, 2011 12:09 am
Location: MX

Post by MarPabl »

Current gear: :arrow: Access Virus TI2 Whiteout Keyboard (111/150), Access Virus TI2 Polar DarkStar Special Edition, Gibson Custom Lite 2013, Roland MV-8800 \:D/
nambuco67
Junior Member
Posts: 55
Joined: Mon Mar 25, 2013 2:13 am
Location: Detroit - MI

Post by nambuco67 »

PWM, Pulse Width Modulation, is a method used to convert a digital waveform (sequence of digital values or samples) into a analog waveform (audio signal for speakers).

A fixed frequency square signal (on / off) is generated with pulse width (relation between on / off time) controlled by each value of digital waveform. Since square signal frequency is much higher than digital waveform, the high frequency can be filtered leaving only the digital waveform converted to analog.

I hope I could explain the principle.....

Regards,

Paulo
Paulo Henrique
Korg PA5X / Korg Kronos 3
Macbook / Logic Pro / Ableton Push 3 / Gig Performer / VSTs
User avatar
MarPabl
Platinum Member
Posts: 938
Joined: Sat Sep 24, 2011 12:09 am
Location: MX

Post by MarPabl »

nambuco67 wrote:PWM, Pulse Width Modulation, is a method used to convert a digital waveform (sequence of digital values or samples) into a analog waveform (audio signal for speakers).

A fixed frequency square signal (on / off) is generated with pulse width (relation between on / off time) controlled by each value of digital waveform. Since square signal frequency is much higher than digital waveform, the high frequency can be filtered leaving only the digital waveform converted to analog.

I hope I could explain the principle.....

Regards,

Paulo
This is true from an electronics perspective... but for musical usage, the concept is different: you have the oscillator of your synth configured to output a square wave, and then you modulate the width of the square wave, so it goes from:
- Fully square (50% duty cycle), for example

Code: Select all

    ---     ---
   |   |   |   |
---    ---     ---
- To rectangular (even 1% duty cycle)

Code: Select all

     -      -
     ||     ||
-----  -----  -----
Current gear: :arrow: Access Virus TI2 Whiteout Keyboard (111/150), Access Virus TI2 Polar DarkStar Special Edition, Gibson Custom Lite 2013, Roland MV-8800 \:D/
User avatar
Saxifraga
Guest
Posts: 520
Joined: Mon Mar 26, 2012 1:22 pm
Location: Berlin, Germany

Post by Saxifraga »

The really interesting thing is that the spectrum of any periodic function like sine, saw, square and triangel has a spectrum of discrete lines our ear hears as what makes up the characteristic sound. This can be visualized by fourier transformation. The more frequencies are needed to construct the signal the richer the sound. That´s also what you hear if you open and close the filter.
You can hear the filter cutting away those frequencies in the King Korg filter test video. http://www.youtube.com/watch?feature=pl ... Z3SX2Qtug0 So if you modulate the pulse width of a square wave you get a spectrum that changes with time and changes the character of the sound drastically. You need more and other frequencies to construct the signal if the square expands or tightens. Similar things go for gauss signals which no synth uses as far as i know, but from wich the term pulswidth originated.
A sine wave of course consist only of one frequency and can not be modulated with the filter. Only the amplitude which corresponds to loudness of that sine signal can be changed.

Best you read some book about "Introduction to signal theory" (search on iTunesU). A synth makes much more sense if you know about the physics and mathematics of time signals and fourier transformation between time and frequency domain. It´s not that hard. ;)
cobi
Junior Member
Posts: 84
Joined: Sat May 05, 2012 5:15 pm
Location: Cologne, Germany

Post by cobi »

... very helpful link. Thanks.
It has been a long time since I used this stuff with my good old MS20 and my little Moog Prodigy.
The articles whet the appetite for tweaking some sounds ...

cobi
Hardware: Kronos 88 X, M50 73, Yamaha PSR 750, Roland Octacapture
Software: Mixcraft Pro Studio 7.5, Korg Legacy: M1, MonoPoly, MS-20, Polysix, Wavestation, OP-X Player
iPad: iElectribe, iM1
AdDeRoo
Platinum Member
Posts: 524
Joined: Wed May 20, 2009 12:56 pm
Location: Northern Italy

Post by AdDeRoo »

Thanks all. Very helpfull
Ad

Current gear : Korg Kronos 88 (SN 0979) / Nektar LX88+ / Korg PA2X / Kurzweil K2500R / Korg Nanopad2 / Neo Ventilator / Akai EWI USB / Cantabile / Reaper / Cakewalk / Reason / way too many VST's
Sparker
Senior Member
Posts: 483
Joined: Thu Feb 26, 2009 5:57 pm
Location: Wales UK

Post by Sparker »

I'll second that link to Synth Secrets =D>

Plenty of good reading there for a week or three ...
Kronos 61 & KK KARMA / Triton Ex c/w MOSS and TR KARMA / MS2000 / Radias / Kaossilator Pro & Kaossilator / Korg Kontrol 49 / Nanopad / Novation Nova / Waldorf Blofeld

Line 6 Flextone XL / Line 6 POD XT / Roland V Bass / Ampeg Portabass & Cab / Assorted Guitars (no whammy bar) ... and a Fender Champ ...
taki
Full Member
Posts: 141
Joined: Wed Apr 16, 2008 2:11 pm

Post by taki »

Saxifraga - very good explanation in a paragraph about how time domain signals can be translated into the frequency domain to better explain what PWM signals may look like in that domain, where they are easier understood. Being an Electrical Engineer myself, you explained it perfectly in a short paragraph.


For those that it did not make sense, it might be useful to do some simple google searches and read about this topic for an hour, especially if you are doing any sound editing/creation using keyboards.

Taki
User avatar
Saxifraga
Guest
Posts: 520
Joined: Mon Mar 26, 2012 1:22 pm
Location: Berlin, Germany

Post by Saxifraga »

@Taki - Thank you! :D
1jordyzzz
Platinum Member
Posts: 688
Joined: Sat Mar 03, 2012 2:02 pm
Location: Indonesia

Post by 1jordyzzz »

Saxifraga wrote:The really interesting thing is that the spectrum of any periodic function like sine, saw, square and triangel has a spectrum of discrete lines our ear hears as what makes up the characteristic sound. This can be visualized by fourier transformation. The more frequencies are needed to construct the signal the richer the sound. That´s also what you hear if you open and close the filter.
You can hear the filter cutting away those frequencies in the King Korg filter test video. http://www.youtube.com/watch?feature=pl ... Z3SX2Qtug0 So if you modulate the pulse width of a square wave you get a spectrum that changes with time and changes the character of the sound drastically. You need more and other frequencies to construct the signal if the square expands or tightens. Similar things go for gauss signals which no synth uses as far as i know, but from wich the term pulswidth originated.
A sine wave of course consist only of one frequency and can not be modulated with the filter. Only the amplitude which corresponds to loudness of that sine signal can be changed.

Best you read some book about "Introduction to signal theory" (search on iTunesU). A synth makes much more sense if you know about the physics and mathematics of time signals and fourier transformation between time and frequency domain. It´s not that hard. ;)
Hey saxifraga, i'm interested in learning fourier transform since i'm attracted to music and being a computer science student myself, i think it'll be helpful for my future papers... but can you provide the link that is very simple on explaining fourier transform?? looking at wikipedia and suddenly there's a star ringing around my head.. my maths are suck, i want to change it.. thanks!
Love my kronos 88 :D
Love my yamaha psr s910 as well

Korg Kronos 88, Yamaha PSR s910, Korg C720, Yamaha DTX 520, Focusrite Scarlett 18i6, a pair of Yamaha HS80 in (soon not to be) an unproperly treated room..
User avatar
Saxifraga
Guest
Posts: 520
Joined: Mon Mar 26, 2012 1:22 pm
Location: Berlin, Germany

Post by Saxifraga »

1jordyzzz wrote: Hey saxifraga, i'm interested in learning fourier transform since i'm attracted to music and being a computer science student myself, i think it'll be helpful for my future papers... but can you provide the link that is very simple on explaining fourier transform?? looking at wikipedia and suddenly there's a star ringing around my head.. my maths are suck, i want to change it.. thanks!
At the moment I know only a good book in german language (Lüke, Signalübertragung, Springer-Lehrbuch).
(As a primer I would read this one. Sadly, I lost my copy at the University:
Waves (Berkeley Physics Course, Vol. 3) [Hardcover]
Frank S. Crawford Jr. (Author) )

Do you have Mathematica Home Edition? Any other symbolic computation package with FFT (fast fourier transformation) will also do.
Mathematica is very useful because it can play the periodic waveforms directly via audio.

A different approach is to use Logic or another DAW with an AU/VSTi plugin that shows you the spectrum of the sounds on your tracks (like VoxengoSPAN_241_MacAU_setup.dmg (MAC)). You can experiment then how your waves look like in the frequency domain and experiment with the filters.
User avatar
Ojustaboo
Platinum Member
Posts: 1154
Joined: Fri Jul 08, 2011 6:49 pm
Location: UK

Post by Ojustaboo »

Sparker wrote:I'll second that link to Synth Secrets =D>

Plenty of good reading there for a week or three ...
I'll third it.

They are supposed to be releasing the entire series as a book at some point. Will definitely get it if they finally get round to it.

I haven't read the series in a while but last time, a few of the pic links were to the wrong diagrams, I sent them a list of the ones I noticed.

http://www.soundonsound.com/forum/showf ... t=1#991455
Post Reply

Return to “Korg Kronos”