<< Chapter < Page Chapter >> Page >
Results

Results

Karplus-strong algorithm

The Karplus-Strong algorithm worked extremely well for producing realistic guitar sounds. We took advantage of this and synthesized chords as well simply by adding the outputs of the individual notes together. To simulate the physical strum of a guitar, we inserted a delay between each of the six strings of the guitar so that they would sound slightly later in time. An electric guitar sound could be easily synthesized by adding some noise to the output of the Karplus-Strong algorithm. The end product was a very pleasing imitation of a guitar.

Spectrum of a strummed chord

The result of combining the individual notes generated by the Karplus-Strong algorithm together to form a chord.

Adsr

Applying the ADSR envelope to the output of Karplus-Strong allowed us to alter the guitar sounds into ones that sounded like an organ, bell, and the pluck of a harpsichord piano. We created the ADSR curves through a mixture of research and our own intuition from having heard each instrument.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2008. OpenStax CNX. Jan 22, 2009 Download for free at http://cnx.org/content/col10633/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2008' conversation and receive update notifications?

Ask