Everything2
Near Matches
Ignore Exact
Full Text
Everything2

phase offset modulation

created by zoeb

(idea) by zoeb (15.4 hr) (print)   ?   (I like it!) Sat Sep 02 2006 at 21:27:52

A synthetic timbre sounds more pleasant if the shape of the waveform subtly changes over time as its various harmonics fade in and out. To put it another way, a periodic waveform does not sound as interesting as a quasi-periodic waveform.

The most popular way to generate a quasi-periodic waveform with analogue electronics is to use pulsewidth modulation, or PWM for short, which generates a pulse waveform that has a varying duty cycle. While this technique works well in analogue electronics, there is another type of modulation that is ideally suited to virtual synthesisers which use lookup tables in place of tangible oscillators.

Waveforms can be looked at in several ways, such as shapes or harmonics. Once a waveform has been digitised, however, it can be seen in yet another way: as a series of numbers. This is where virtual synthesisers come into their element: because they run on computers, they are great at performing simple calculations on numbers. It is trivially easy for a computer program to take two waveforms and multiply them together or subtract one from the other.

How phase offset modulation works is to take a lookup table, and generate two instances of its waveform at the same frequency. One of them should be further ahead or behind in its cycle, making the two waveforms slightly out of sync with each other. Either the values of the waveforms are multiplied together, or the value of one of them is subtracted from the other one.

This process generates an entirely new waveform with a drastically different shape. For example, one ramp wave subtracted from another will create a pulse wave, with the amount of offset (the difference between the two waveforms' starting points) dictating its duty cycle. If you slowly change the offset amount, you get pulsewidth modulation.

Using this technique, not only can you achieve pulsewidth modulation using a ramp wave, you can also create a comparable effect using any other periodic waveform, creating an entirely new quasi-periodic waveform.

So far, the only instrument I know of which uses phase offset modulation is SubTractor, part of the Reason virtual studio by Propellerhead Software. It seems like a rather elegant solution to the problem of digitally creating quasi-periodic waveforms using very little processing power. Hopefully more synthesisers will employ this technique in the future, as analogue hardware is increasingly being replaced by more convenient software alternatives.


printable version
chaos

quasi-periodic waveform Propellerhead Software lookup table Demonyms of Australia
Phase shift subtractor Sparks cycle
frequency periodic waveform harmonic pulse wave
pulse width modulation Timbre reason duty cycle
Offset waveform Audacity
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Look at this mess the Death Borg made!
Sea dragon
A Computer Prayer
Common Glasgow, Edinburgh and Scottish colloquial terms and words
People Power
Harlan Ellison
Music For Supermarkets
Methamphetamine
Enigma
If God did not exist, it would be necessary to invent him
I DON'T quit
Care instructions for the Juniper Bonsai
Don Quixote
Also Sprach Zarathustra
New Writeups
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
This affordable entertainment brought to you by The Everything Development Company