John Whitney in “Computers: Challenging Man’s Supremacy”.
Whitney music box
A musical realization of the motion graphics of John Whitney as described in his book “digital harmony”
Digital Harmony: http://teaching.thesystemis.com/algo11/blog/wp-content/uploads/2011/09/TheProblem_HowShallMotionPatternTime.pdf
Python web server
Simple command line web server for Mac OS
Run this command, in a terminal window, from any directory:
python -m SimpleHTTPServer 8000
Then you can access web pages in that directory tree. For example, to load a page called index.html (in the same directory) type the following URL into a browser:
http://127.0.0.1:8000/index.html
More information here: http://lifehacker.com/start-a-simple-web-server-from-any-directory-on-your-ma-496425450
Histograms of Chopin etudes
ep-413 DSP – week 11
Filters
Analog
- Guitar tone control
- impedance matching http://www.learnabout-electronics.org/ac_theory/transformers04.php
- resistors, capacitor RC circuits http://www.electronics-tutorials.ws/filter/filter_2.html
- capacitor calculation: http://www.convertunits.com/from/farad/to/picofarad
- identifying capactiors: http://grathio.com/assets/capacitor_tags.pdf
- Wolfram Alpha: http://www.wolframalpha.com/input/?i=1+%2F+%28.0000000047+*+10000+*+2+*+3.1415%29
Digital
- Max filter tutorial: https://cycling74.com/wiki/index.php?title=MSP_Filter_Tutorial_1:_Simple_Filters
- cutoff frequency, stopband, passband, bandwidth, q, resonance, poles, slope, phase shift, delay, order,
- impulse, impulse response, fir, iir
- Links to all Max filter tutorials: https://cycling74.com/wiki/index.php?title=Special%3ASearch&profile=default&search=filter+tutorial&fulltext=Search
- Filter modulation and envelopes
- the frequency domain: noise gates, parametric eq
- forbidden planet (max example)
- fft filter by Katja Vetter https://reactivemusic.net/?p=11207
- sinusoidal, harmonic, stochastic models
Other
We usually think of filters in terms of frequency. Any process that removes information is a filter. Curation or abstraction, for example.
- multirate DSP: upsampling, downsampling, decimation and interpolation https://reactivemusic.net/?p=11392
- slew-limiter: https://reactivemusic.net/?p=2506
- randomness, entropy
- heterodyne filter: https://reactivemusic.net/?p=17338
- nothing-detector: https://reactivemusic.net/?p=11770
Reversability
- encryption – Markus Brandau – http://upcommons.upc.edu/pfc/bitstream/2099.1/4858/1/MarkusBrandau.pdf
- various methods: https://reactivemusic.net/?p=7752
- Fiber optic noise cancellation: https://reactivemusic.net/?p=6680
- Noise cancellation for light: https://reactivemusic.net/?p=6381
- language translation http://richard-blanco.com/book/city-of-a-hundred-fires/mother-picking-produce/
examples
- Simple phase cancellation (disappearing-act.maxpat) https://reactivemusic.net/?p=8879
- Encryption by masking and phase cancellation: (phase-cancellation-example.maxpat)
- 2 methods of reversible audio encryption in Max: reciprocal and frequency shifting: https://reactivemusic.net/?p=9030 (voice-encryption2b.maxpat)
- FM, AM, and SSB modulation/demodulation in Max https://reactivemusic.net/?p=8885
- weird spectral symmetry: https://reactivemusic.net/?p=11747
Keith McMillen
Interview by Darwin Grosse at Art + Music + Technology
http://artmusictech.libsyn.com/podcast-054-keith-mcmillen
Listen to Wikipedia
The sound of Wikipedia’s recent-changes feed.
By Stephen LaPorte and Mahmoud Hashemi
MBTA bus data in Max
Sonification of Mass Ave buses, from Harvard to Dudley.
This patch sends requests to the MBTA developer portal to get the current location of buses – using the Max js object. Latitude and Longitude data is mapped to oscillator pitch. Data is polled every 10 seconds, but it seems like the results might be more interesting to poll at a slower rate, because the updates don’t seem that frequent. And buses tend to stop a lot.
MBTA developer portal: https://reactivemusic.net/?p=17511
Here is the get request URL used in the patch:
http://realtime.mbta.com/developer/api/v2/vehiclesbyroute?api_key=wX9NwuHnZU2ToO7GmGR9uw&route=01&format=json
download
https://github.com/tkzic/internet-sensors
folder: mbta
patches:
- mbta.maxpat
- mbta.js
- poly-oscillator.maxpat
authentication
You will not need authentication to run run this patch. It uses the default developer API-key for testing. Please read the terms of service at the MBTA developer portal. Data should not be polled more often than 10 seconds. You can also request your own developer API key from MBTA.
instructions
- Open mbta.maxpat
- Toggle the metro (at the top of the patch) to start polling
- Turn on the audio (at the bottom of the patch) and turn up the gain
Note: there will be more buses running during rush hours in Boston. Try experimenting with the polling rate and ramp length in the poly-oscillator patch. Also, you can experiment with the pitch range.
data-stream-switch.maxpat
Gibberish generator
Letter based Markov text generator.
By Keith Enevoldsen at Think Zone
ep-413 DSP week 10
Music from data
We looked at Vine API Examples from Eli and Steve H.
OSC (Open Sound Control)
- Max udpsend, udpreceive, touchOsc, aka.speech
- using a wifi router for performance projects
Using an Osc server to handle Internet API’s
- ruby, python, php
- ruby twitter example in Max https://reactivemusic.net/?p=7013
Searchtweet (rate limited): https://reactivemusic.net/?p=17425
Max oggz streaming example: https://reactivemusic.net/?p=17504
We talked about cartoons: https://reactivemusic.net/?p=10091
Sonification
- parameter mapping
- modeling
- earcons
We didn’t talk about alarm fatigue…
MBTA bus example in Max:
(parameter mapping sonification)
https://reactivemusic.net/?p=17524
- documentation
- API keys
- JSON
- Max example
Unsolved problems
Is it possible to generate music from data?