I've made a half-assed version of everything you can think of!
General
Toys
Other
Blog Archives
Super Links
Copyleft

Unless otherwise stated, all original content on this site is licensed under your choice of the GNU FDL or the Creative Commons ShareAlike License.

GNU FDL Creative Commons License

Validate

Hopefully, this website is valid. You can check the XHTML, the CSS, and the RSS.

Valid XHTML 1.0 Strict Valid CSS Valid RSS

Stats

A very simple string synthesizer

This program makes a sound like a vibrating string. This is a sample sound it made. You can control various parameters of the sound and it outputs the result as a wave file. If you want to try it out, run it with the --help option to get the usage.

It's not very good at all. I've learned that there are much more sophisticated ways of synthesizing these sorts of sounds. I didn't set out to make a good syth, though. Basically, I just found a differential equation that describes the vibration of a string, and I wanted to see if I could make something that sounds like a string using nothing but that equation. Well, I can. That was fun.

In case you are curious, the differential equation I found is

differential equation
definition of y

My program simulates the string by using finite differences with the differential equation and then just takes the height of the string at some spot (the pickup) at regular intervals to be the samples.