Harmonizer

Until our dedicated user library is in place you can post examples and modules here

Moderators: electrogear, exonerate

Harmonizer

I was reminded of this while reading (or rather; watching) up on trigonometry (check khanacademy.org, it's excellent!).
You can create any waveform simply by superimposing sine waves.
So here's a simple schematic that lets you do exactly that and nothing much more.
There's 20 sliders, each one controling a harmonic frequency of the base frequency played through midi.
There's nothing revolutionary or particularly useful in here, but it's fun nonetheless.

Harmonizer.osm

p.s. You can modify it to include "fractional" harmonics to make the amplitude oscilate, but since these aren't what I was after, I left them out.
My current top SynthMaker bug:
1. MIDI Input issue (showstopper, no workaround)
2. All my previous bugs in SM1.7, because bug 1 makes SM2 worse than SM1.7

mwvdlee
smanatic

Posts: 552
Joined: Thu Dec 03, 2009 8:42 am
Location: NL

Re: Harmonizer

[quote="mwvdlee"]
You can create any waveform simply by superimposing sine waves.
So here's a simple schematic that lets you do exactly that and nothing much more.
There's 20 sliders, each one controling a harmonic frequency of the base frequency played through midi.
quote]

Hate to burst your bubble here
But you can't "create any waveform simply by superimposing sine waves" (resynthesis) without also getting the phase as well as the amplitude. It is only then that you can recreate any waveform. The more harmonics you use, the longer the wave can be.

20 harmonics will not get you very far, if it's resynthesis you're after.
In Sytrus for example, for a clean single-cycle waveform, it uses 256 harmonics, and a wave of 512 samples to load into it.

There's a thread on this, where we attempt to create resynthesis in SM. Search under the key words "harmonic phase".
I can make custom presets in Synthmaker. Post a CROPPED mp3 of the synth sound you want and I can make it.

Large
essemilian

Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA

Re: Harmonizer

Large wrote:But you can't "create any waveform simply by superimposing sine waves" (resynthesis) without also getting the phase as well as the amplitude. It is only then that you can recreate any waveform. The more harmonics you use, the longer the wave can be.

I've experimented with phase, but it made no audible difference. Visibly there is a difference, but you can't hear it.
My current top SynthMaker bug:
1. MIDI Input issue (showstopper, no workaround)
2. All my previous bugs in SM1.7, because bug 1 makes SM2 worse than SM1.7

mwvdlee
smanatic

Posts: 552
Joined: Thu Dec 03, 2009 8:42 am
Location: NL

Re: Harmonizer

I wish you were right

But try randomizing the phases of a kick drum type of waveform, (where the sinewave drops from high to low).

The phases make all the difference

Have a listen to the difference:

512 sample Wave to test for yourself.wav [ 1.12 KiB | Viewed 743 times ]

Perfect Phases, then Randomized Phases.mp3
Attachments
Perfect Phases, then Randomized Phases.jpg (54.82 KiB) Viewed 1229 times

Large
essemilian

Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA

Re: Harmonizer

Nice sluthing large!
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar

Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Harmonizer

Thanks (?)

I just am spreading the word that harmonics' phases DO make a difference in the sounds of resynthesized waveforms.

I can make custom presets in Synthmaker. Post a CROPPED mp3 of the synth sound you want and I can make it.

Large
essemilian

Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA