overtone/overtone — pull request #185 by rogerallen (2012-12-15 17:00:13+00:00)
Title: Guitar Instrument

Sam, It looks like you're making a serious push to get 0.8 out, and this motivated me to try this pull request. I think this guitar instrument is in good enough shape to be part of the Overtone project. It is a surprising and fun experience when a laptop synth can produce AC/DC-style distorted guitar output! It might open even more eyes to the possibilities of Overtone.

I hope you'll agree, or if you don't we can work out what I might need to change.

There are 3 files in the commit:

1. a macro (that you helped write via the forum) to define a stringed instrument with any number of strings. By default, it is "acoustic" sounding, but it also has optional distortion and a low-pass filter so that it can sound "electric"

2. a 6-stringed guitar instrument based on that macro

3. a series of examples showing how to create & play the guitar.

There are things to add in the future:
* a guitar TAB player
* automatic chord creation instead of fixed chords in a lookup table
* more effects

But, those will come later...

Cheers,

Roger