Digital Music Programming II: Lab Resources
Programming Warm-Up: C++ command-line programs
- noise1 -- Creating
whitenoise soundfiles.
- noise -- Command-line
input/output options for the noise1 program.
- oscillator -- Making an oscillator
program.
- biquad -- Implementing a biquad filter
to process soundfiles on the command-line.
Writing Max Objects
Writing MSP Objects
Basic Input and Output:
- How to make a CodeWarrior project and compile
a Max/MSP object.
- thru -- getting MSP signals in and out of your object.
- thrustereo -- getting multiple MSP signals in and out of your object.
Sound Generation
- whitenoise -- whitenoise signal generator.
- osc -- high-quality sinewave generator which does
not use a wavetable (like cycle~).
Linear Filters:
- average -- averaging filter.
- feedback -- basic one-pole filter.
- midismooth -- Scale 7-bit MIDI data into a
new range and smooth the input data into a continuous function.
- dcblock -- remove DC signals from data.
- reson -- simple two-pole resonating filter.
- mybiquad -- generic two-pole, two-zero resonating filter.
- allpass -- filters which do not change the
amplitude of sounding being filtered, but can delay different
frequencies by different amounts.
- mycomb -- a comb filter.
- myflange -- a flange filter.
Other Audio Objects:
- kola -- a windowed looping buffer.
Physical Modeling:
- mydelayline -- a delayline.
- digitar -- recursive averaging filter model
for a string.
Sound Analysis
- sndpower -- analyze the power of
sound flowing into the object.
- hps -- harmonic product spectrum for
monophonic pitch tracking in the input signal.
Basic Stamp Microcontroller Programs
- cout -- send a MIDI note output from the basic stamp.
- switch1 -- user the basic stamp to send
one on/off switch state though a MIDI cable.
- switch15 -- user the basic stamp to send
15 on/off switch states though a MIDI cable.
- Foot Pedal Machine -- SMPTE Time
MachineTM recycled into a foot pedal
controller based on the program from the switch15
lab.
- rcfsr -- Using an RC-timing circuit to
measure the resistance of a Force Sensing Resistor.
- adflex -- measure a flex sensor's resistance
with an A/D converting chip and send the data out with a MIDI message.
- flex8 -- send eight flex sensor's data over a MIDI
cable using a continuous controller messages.
- 440 -- composition created using flex8 program to control audio processing in Max/MSP.
Other Lab Resources
|