Harmonizer

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

Moderators: electrogear, exonerate

Harmonizer

Postby mwvdlee on Fri Jun 04, 2010 7:33 pm

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
(18.72 KiB) Downloaded 319 times


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
User avatar
mwvdlee
smanatic
 
Posts: 552
Joined: Thu Dec 03, 2009 8:42 am
Location: NL

Re: Harmonizer

Postby Large on Tue Jun 15, 2010 5:44 am

[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.
User avatar
Large
essemilian
 
Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA

Re: Harmonizer

Postby mwvdlee on Tue Jun 15, 2010 6:05 am

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
User avatar
mwvdlee
smanatic
 
Posts: 552
Joined: Thu Dec 03, 2009 8:42 am
Location: NL

Re: Harmonizer

Postby Large on Tue Jun 15, 2010 6:50 am

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
(50.23 KiB) Downloaded 142 times
Attachments
Perfect Phases, then Randomized Phases.jpg
Perfect Phases, then Randomized Phases.jpg (54.82 KiB) Viewed 1229 times
User avatar
Large
essemilian
 
Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA

Re: Harmonizer

Postby infuzion on Tue Jun 15, 2010 7:12 am

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
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Harmonizer

Postby Large on Tue Jun 15, 2010 7:41 am

Thanks (?)

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

I had to deal with that in the other thread also.
I can make custom presets in Synthmaker. Post a CROPPED mp3 of the synth sound you want and I can make it.
User avatar
Large
essemilian
 
Posts: 300
Joined: Sun Mar 16, 2008 1:53 am
Location: Seattle, WA


Return to Examples

Who is online

Users browsing this forum: No registered users and 0 guests