some code from class – simple fft, audio recording (direct and to a buffer): Â avsys_wk6
24
Feb 11
homework 5
audio analysis meets white square (200px x 200px)
in this homework, I want you to have the same basic rules:
a) start with a white square, 200px x 200px, centered on the screen  *
b) start with a blackbackground
c) draw nothing else on screen
note, to center on the screen, you can use ofSetRectMode(OF_RECTMODE_CENTER); ofRect(ofGetWidth()/2, ofGetHeight()/2, 200,200); or ofRect(ofGetWidth()/2 - 100, ofGetHeight()/2 - 100, 200,200);
then, based on sonic input, manipulate  the square (or the scene).  what happens to the  square is up to you, does it rotate?  does it change in color?  grow? bounce? explode??
think specifically about sonic qualities, like pitch, and frequency information, and think about “performing†your white square.
make 3Â different examples using the variety of techniques of analysis we talked about, pitch detection, fft, and volume detection.
have fun!
+
also make a graphical score to a piece of music / sound for which traditional music notation isn’t necessary. Â Think about what visual languages you can use to represent sound. Â for inspiration, see:
http://en.wikipedia.org/wiki/Graphic_notation
http://www.eyemagazine.com/feature.php?id=23&fid=168
http://at.or.at/hans/solitude/
17
Feb 11
homework 4
17
Feb 11
links from class 4
17
Feb 11
code from class 4
here’s code from class 4 — granular synthesis, RMS for volume, camera / capture hooked up to the additive interactive example.
also, including the app (but not code… yet) for the granular recorder.
have fun!
09
Feb 11
homework 3
a) See something in new york — a performance, installation, play  — and take some photographs or notes about it.  Let’s do research IRL not just on the net!
b) Create 3 interactive audio visual systems based on AM, FM or Additive synthesis and a primitive visual form (circle, square, triangle). Â Think about creating the tightest relationship between the sound and the visual form, and how interaction (mouse, keyboard, other) can influence that.
09
Feb 11
code from class 3
this is code from class, intro to control panel, AM, FM and additive with control panel, and interactive examples for FM and additive synthesis: avsys_wk3
07
Feb 11
FM and AM modulation sound samples for HW 2
Hey guys, here are some sound samples for you to match your code up with to make sure that you’ve implemented AM and FM correctly.
Both samples have their Carrier Wave set to 880 Hz and their Modulator Wave set to 440 Hz.
02
Feb 11
homework 2
a) implement additive, AM and FM synthesis using the sin wave code as a starting point.
b) using additive synthesis, create the most harmonious, beautiful sound that you can.  think about using multiple sin osicllators, with various levels of volume.  Be very, very, very careful not to clip your sounds (ie, scale the volumes so that they add up to less then 1.0).   Use many oscillators.
c) using additive synthesis, create the most evil, terrible, cacophonous and dissonant sound.  Again, take care about volume levels.
d) try to see what the limit of your computer is by adding as many sin oscillators as you can together. Â how many can you put into the app with out it skipping. Â take care about the volume of each osciallator.
e) using any synthesis technique, attempt to recreate these tones:Â
f) make music ! try to transcribe a song (turning the notes into frequencies) and play it via code. And / or, try to create a sequencer that allow you to compose music by controlling some parameters of synthesis over time.  then, create some music with this tool.
have fun!