Electronic Measurements

Additive synthese waveform generator

Last Modification: January 23, 2013

Every randomly shaped waveform can be composed by adding one ore more sine waves signals with each a different frequency, phase and amplitude. This is also called additive synthesis. The frequency range consists of the fundamental and his harmonics.

The wave shape in the tool beneath can be modified by adjusting the sliders H1 t/m H11. These will set the amplitudes of each harmonic. The phases of each harmonic can be set with the buttons below each slider.

You got an old brouwser or javascript is disabled.
A
1.000
H1
1.000
H2
0.000
H3
0.000
H4
0.000
H5
0.000
H6
0.000
H7
0.000
H8
0.000
H9
0.000
H10
0.000
H11
0.000

Sound

Frequency (Hz)

Volume

off
At 29 aug 2020, 15:44:52 wrote Subrata
Hi
Absolutely loved your work, I was just wondering is this code open open source for young learner at uni? If so how can then I access the source code (the application), I would like to add something extra and to combine few tools for audio engineering students in UK, as for educational and research purpose only.

Wold like to hear from you at your convenience.
Kind Regards
Subrata
At 29 aug 2020, 20:13:16 wrote Freddy
It is not open source, but you may use it for educational purposes. You can find the link to the javascript source (golfvormsynthese.js) in the HTML source code of this page.
At 29 aug 2020, 20:16:08 wrote Subrata
Many thanks for the response. What about the UI? And customs JavaScript calculation (if any).
At 30 aug 2020, 10:08:02 wrote Freddy
It is all in one JS file. Only the HTML elements are marked-up in this HTML file. And you can find the style descriptions in golfvormsynthese.css
At 31 aug 2020, 20:45:17 wrote Subrata
Thank you so much for your permission for to use it, solely for educational purpose. I have cleaned the UI a bit, leaving only the application for learners to practice. I also have given credit to you with a direct link to your site.
At 18 jan 2021, 17:11:44 wrote Some user out there
As someone with absolute pitch, this is a very interesting conept to me, I must say. It made me think if you know a website or application out there where you could make your own instruments like this, where you could customize each overtone from the first to however many it takes to get to 20,000 hertz. I am more into music than I am into programming, so that is why I am asking this through a more musical perspective. If you do not have an answer, that is completely fine.
At 21 jan 2021, 12:55:20 wrote Freddy
I don't know of an online instrument. But I think a midi keyboard with a Hammond organ simulation will do the trick.
At 05 maa 2021, 18:24:32 wrote Jon
In Safari, the frequency only works right when the page is first loaded. I can change the frequency once. Changes to frequency after that point are ignored. Thank you for this tool. It's great for demonstration purposes.
At 17 okt 2021, 09:21:05 wrote antonio
very well!!!
how to add other presettings for flute, viola, ...?
thanks!
At 23 jun 2022, 16:20:25 wrote Cypher
I love this, but I must ask what the equation is to find the wavelength and change the sound? This is intriguing to but I can't find the equation online. Or maybe I have and didn't know it? I'm not very bright and this would help me immensely. Thanks for your time.

Reply to this message

Name:
Email:
County:
Comment:
Email notification :
X

Login

Name:
Password: