Difference between revisions of "PLOrk2009/TheodorPopovFinalProject"

From CSWiki
Jump to: navigation, search
(The Harmonizer)
(The Theremin Harmonizer)
Line 16: Line 16:
 
There are several versions of the code that you can download [http://www.princeton.edu/~tpopov/Theo_Popov-Codes.zip here]. The basic one builds a diminished seventh cord over the input pitch. There are also variations for a major and minor triads. Finally, the “Rule of the Octave” harmonizes the chromatic scale from C4 to C5 with suitable chords within a C major context.
 
There are several versions of the code that you can download [http://www.princeton.edu/~tpopov/Theo_Popov-Codes.zip here]. The basic one builds a diminished seventh cord over the input pitch. There are also variations for a major and minor triads. Finally, the “Rule of the Octave” harmonizes the chromatic scale from C4 to C5 with suitable chords within a C major context.
  
=== What to include on your project page ===
+
=== The Results ===
* A description of your project
+
The following short clips show the results of this harmonizing experiment. Here are three conclusions that can be reached:
* Your code
+
 
** If it's short, you can make a new page for it like [http://wiki.cs.princeton.edu/index.php/Poly_demo.ck this one]
+
* 1) The "Rule of the Octave" does a fairly good job of harmonizing a [http://www.princeton.edu/~tpopov/ascending_octave.AVI.zip glissando ascending octave] (although some leading tones don't resolve properly).
** Or, if there's a lot of it, put it in a .zip file so that people can upload it.
+
 
*** We suggest: put it in your public_html directory on your network drive, then make a link, e.g. to http://www.princeton.edu/~yourname/yourfile.zip. Let us know if you need any help!
+
* 2) The diminished chords version is good for creating [http://www.princeton.edu/~tpopov/Spooky_sounds.AVI.zip spooky sounds] reminiscent of 60s horror movies.
* Instructions on how to run your code
+
 
* A sound or video recording of your piece. Going lo-fi and using built-in webcam from another laptop (e.g. PLOrk machine in studio B) is fine. But for audio, if you're using chuck, best to use rec.ck for writing chuck's output directly to a file.
+
* 3) [http://www.princeton.edu/~tpopov/Twinkle_Twinkle.AVI.zip "Twinkle Twinkle"] and [http://www.princeton.edu/~tpopov/In_The_Jungle.AVI.zip "In the Jungle"], however, should never be played on a harmonized theremin.
** See directions above on putting it on your network drive and linking to it
+
 
 +
Overall, this harmonizing instrument is far from perfect but it is a good foundation to build on.
 +
 
 +
=== Acknowledgments ===
 +
Thank you, Rebecca, for answering my many (and sometimes not so intelligent) questions. And thank you everyone else in PLOrk - this has been one of the most fun classes I have taken so far.
 +
 
 +
=== The Honor Code ===
 +
 
 +
This project represents my own work in accordance with University regulations.
 +
Theodor Popov'11

Revision as of 13:25, 12 May 2009

The Theremin Harmonizer

For my final project I built several variations of a harmonizing instrument that takes a pitch input and creates harmonies around it. It is designed to work particularly well with a B3 Deluxe Theremin. However, you can try it at home by whistling with similar results.

Why Theremin?

Patented in the early 1900s by a Russian genius, the theremin is the first electronic instrument. Its invention stimulated creativity and developments that revolutionized the way we look at music: practically everything is possible for a composer nowadays.

The theremin, however, fell into relative oblivion – few know of its existence today and even fewer work actively towards its development as a musical instrument. One major lack, for instance, is the inability of the player to produce more than one pitch at the same time. True, it is a melodic instrument, but unlike most other melodic instruments it is not capable of “cheats” to create harmony (arpeggios are very difficult to do and notes can not be sustained after they have been played).

One solution to these issues can be found in the just released by Moog Music model: the Etherwave Plus which gives the player unmatched before freedom of modification of the sound the instrument produces. Another one is offered by my final project.

The Harmonizer

I used ChucK and the MiniAudicle to create code that analyzes the sound input and determines the fundamental of the pitch by looking at the peak of the spectrum. Then it creates musical intervals around that pitch and plays back different harmonies. The code is easy to work with and allows for freedom of modification because one can just comment(uncomment) the undesired(desired) intervals.

There are several versions of the code that you can download here. The basic one builds a diminished seventh cord over the input pitch. There are also variations for a major and minor triads. Finally, the “Rule of the Octave” harmonizes the chromatic scale from C4 to C5 with suitable chords within a C major context.

The Results

The following short clips show the results of this harmonizing experiment. Here are three conclusions that can be reached:

  • 1) The "Rule of the Octave" does a fairly good job of harmonizing a glissando ascending octave (although some leading tones don't resolve properly).
  • 2) The diminished chords version is good for creating spooky sounds reminiscent of 60s horror movies.

Overall, this harmonizing instrument is far from perfect but it is a good foundation to build on.

Acknowledgments

Thank you, Rebecca, for answering my many (and sometimes not so intelligent) questions. And thank you everyone else in PLOrk - this has been one of the most fun classes I have taken so far.

The Honor Code

This project represents my own work in accordance with University regulations. Theodor Popov'11