Harchanko
unread,May 11, 2009, 1:11:11 AM5/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WOUMUS313
Hi everyone: In response your inquiries, here's a very useful guide to
our work this week. We'll be covering this in class.
Week 6: Recording and playing back sound
Read MSP tutorials 13-16
Make an patch that uses line and a function window to change the
volume and pitch of a soundfile in response to a bang. Due Wednesday
May 13.
1. Create a groove~ and a buffer~ that loads a soundfile
2. Create a function window and draw a function in it.
3. Take the second outlet of the function window into a line~ object.
4. Put the line~ into a *~. The value of the *~ will set the amount
of transposition where the # of octaves transposed is a factor of 2,
i.e., 2^3 (8) is a transposition of three octaves.
5. Put the *~ into the left inlet of groove~. This will drive the
frequency.
6. Put a bang into the function to begin driving the function.
7. Also connect the bang to a message “0” to start your soundfile from
the beginning. Put the message “0” output into the groove~
8. At this point, with the frequency transposition of the soundfile,
you are likely to run out of function time before reaching the end of
the file, or run out of file before the end of the function time.
There are a couple of basic solutions to this:
a. Loop the groove~.
b. Alter the length of the function playback using setdomain $1.
9. Create another function window. This will be connected to a line~
that feeds into the right inlet of two separate *~s.
10. Into the left inlets of these *~s, put your stereo sound outputs
of groove~.
11. Use the same button that you created before (and the same
setdomain message) to control this function window. What is this
function window doing?
Explain different ways to record and playback sound. What controls
the playback rate for each?
Explain preset buttons, and Umenus.
Objects: count~, index~, del, sel, i, record~, groove~, wave~,
sfplay~, sfrecord~,
Week 6: Sound processing in real-time.
Read MSP tutorials 27-31
Comb~, tapin~, tapout~, expr, normalize~, gain~, poly, svf~
Create a patch that uses the function window, groove~, svf~, tapin~,
and tapout~ to create an echoing sound that is filtered by a function-
controlled filter. Due Monday May 18.
1. Create a groove~ and a buffer~ that loads a soundfile.
2. Create a function window and draw a function in it.
3. Take the second outlet of the function window into a line~ object.
4. Put the line~ into a *~. The *~’s right inlet should be a number
reflecting the frequency range of the filter.
5. Set your start time with a message into groove~, and your playback
speed with a number feeding into a sig~ into groove~. Set loop if
desired.
6. Put the output of your groove~ into svf~ (use two svf~s if groove~
is stereo).
7. Connect the function-controlled line~ to the frequency input of
svf~. Set the q of svf~ to a constant, or use another control to vary
that function dynamically.
8. Choose an outlet of svf~. The bandpass outlet or the lowpass
outlet will be the most useful. The notch output will not create a
particularly audible difference in this exercise. Connect that output
into your tapin~.
9. Connect your tapin~ to your tapout~ (you’ll need to duplicate the
tapin~/tapout~ pairs for stereo). Set delay times.
10. Connect the tapout~ to the dac~. Take another output from each of
the tapouts~ and connect to the left inlets of a *~. Connect a number
box to the right of the *~. Limit the number box to a min of 0 and a
max of 1.
11. Feed the output of the *~ back into the tapin~. This creates a
feedback loop where the # going into the *~ is the feedback factor.