140 likes | 255 Views
3860 Team Activities. Audio Editing. Create a short audio collage (< 2min) that expresses the interests/character of your group members Use found sound that reflects interests of your group members. Possible sources include: your local microphone freesound.org
E N D
Audio Editing • Create a short audio collage (< 2min) that expresses the interests/character of your group members • Use found sound that reflects interests of your group members. Possible sources include: • your local microphone • freesound.org • http://www.partnersinrhyme.com/pir/PIRsfx.shtml • google "free sound" or whatever.... • post as stereo .wav on Team Wiki page
WAV io • Write a C/C++ program using Cook's waveio.h that • reads in a .wav file • prints out the sample rate, sample format, and duration in seconds • prints the first 10 samples as decimal integers
band-limited square wave synthesis • Write a C/C++ program using Cook's waveio.h that • writes out a .wav file with these characteristics: • sample rate = 44100 • sample format = mono 16-bit • containing a band-limited square wave at a fundamental frequency read from the commandline • Hint: • for the given fundamental frequency, first find the highest odd harmonic that is below the Nyquist frequency (SR/2). • then create each sample using a nested loop: • for each sample i do • outputsample = 0 • for harmonicNumber = 1 to maxharmonic step 2 do • outputsample += 1.0/harmonicNumber * sin ( 2π* fundfreq * harmonicNumber * i / SR) • write outputsample to file • verify in Audacity
realtime sound output • modify your square wave program to work using STK's RtAudio class
perception • generate examples of these effects (D&J sec 2.5) using band-limited square waves • coherence • fission • fusion
overlap-add time-stretch • use Cook's example code • what is the shape of the window used? • try it on a wave file of your choosing, with different step sizes of 10msec to 1 sec
stk & SKINI • write a program in one of : python, ruby, perl, C++ which • creates a SKINI score file which • plays a series of 20 or more notes with increasing pitch (use any set of increasing intervals) • render it with threebees.cpp
stk instruments • modify controlbees.cpp to use an instrument other than BeeThree • write a score (manually or via code) that demonstrates the effect of the various ControlChange messages supported by the instrument.
data sonification • write code that • downloads a csv file of recent earthquake activity from http://earthquake.usgs.gov/earthquakes/catalogs/ • writes a SKINI score file to display the data as a series of notes • pitch is a function of Lat and Lon • amplitude/velocity is a function of Magnitude • optional: using timing info from Datetime field
network input • modify threebees.cpp to use a socket for input • play a scorefile to threebees using localhost • play a scorefile to other team using their IP address