Python Osc, websockets,
Updating ruby in Mac OS
5/2014 These instructions failed on Snow leopard 10.6.8 – see following note:
Note: To install rvm, there are some dependencies – for example gcc – If you have not installed xcode developer tools, or any typical linux tools – rvm will try to install homebew and probably fail. So it may not be practical to update your version of Ruby this way…
original post
Used rvm – explained here – but I have extracted relevant instructions below:
http://stackoverflow.com/questions/3696564/how-to-update-ruby-to-1-9-x-on-mac
start here:
1. Update /etc/paths as explained here:
sudo nano /etc/paths
Add 2 following lines:
/opt/local/bin /opt/local/sbin
then reboot your terminal
2. Then install rvm:
As The Tin Man suggests (above) RVM (Ruby Version Manager) is the Standard for upgrading your Ruby installation on OSX: https://rvm.io
To get started, open a Terminal Window and issue the following command:
\curl -L https://get.rvm.io | bash -s stable --ruby
( you will need to trust the RVM Dev Team that the command is not malicious – if you’re a paranoid penguin like me, you can always go read the source: https://github.com/wayneeseguin/rvm )
3. When it’s complete you need to restart the terminal
4. To get the rvm
command working.
rvm list known
( shows you the latest available versions of Ruby )
rvm install ruby-2.0.0-p247
For a specific version, followed by
rvm use ruby-2.0.0-p247
or if you just want the latest (current) version:
rvm install current
rvm use current
( installs the current stable release – at time of writing ruby-2.0.0-p247 – please update this wiki when new versions released )
Alternative web-sockets ruby gem
ep-4xx13 DSP – week 12
Mashups
notes
- interactive billboards http://www.businessinsider.com/british-airways-interactive-billboards-2013-11
- pattern matching – detect passwords using facial cues and sound. http://www.bbc.co.uk/news/technology-24897581
- Mothra https://reactivemusic.net/?p=7980
- Theremin https://reactivemusic.net/?p=7975
- Slow motion bass strings http://imgur.com/5SupAbL
- Musical subway http://www.theatlantic.com/technology/archive/2013/11/the-absurd-beauty-of-creating-musical-turnstiles-in-nycs-subway/281406/
- another music as weapon story: http://www.nextgov.com/cybersecurity/2013/11/next-us-weapon-sea-could-be-music/73826/?oref=ng-HPriver
tools
- Internet Sensors project: https://reactivemusic.net/?p=5859
- git and github: https://github.com
- Programmable Web http://www.programmableweb.com
- The Free Universal Construction Kit http://fffff.at/free-universal-construction-kit/
- Javascript development tools:
- Twitter Bootstrap
- Jquery
- Text editing – textedit, textmate, emacs, vim, notepad++
- stackoverflow.com
- Ruby (and Rails)
- sudo command
- setting up a web server…
- Twitter Streaming with Max and php https://reactivemusic.net/?p=5786
- Max data recorder https://reactivemusic.net/?p=8053
- Sending Tweets from Max Using Ruby https://reactivemusic.net/?p=7013
- Geocoding Max and Google Maps https://reactivemusic.net/?p=8115 *need to upload patches.
- Websockets (example with WebAudioApi and Max)
- Scraping – Nokogiri
Holiday book recommendations:
- “The Tomorrow File” 1975 – By Lawrence Sanders
- “This Perfect Day” 1970 – By Ira Levin http://en.wikipedia.org/wiki/This_Perfect_Day
- “Ubik” 1969 – By Phillip K. Dick http://en.wikipedia.org/wiki/Ubik or “Eye In The Sky” 1957 – http://en.wikipedia.org/wiki/Eye_in_the_Sky_(novel) or any collection of short stories.
Assignment
Work on final projects. Due in class December 16th
algorithmic tools
Max for Live. Cool user interface.
By Eric Ameres
Iannix – graphical sequencer
ep-3xx41 Max – week 12
modern user Interface design:
Max For Live – part 2
notes
- where are M4L patches saved by default? <home>/Music/Ableton/UserLibrary/Presets/MidiEffects/MaxMidiEffect/xyz.amxd
- file dependencies, distributing your patch http://cycling74.com/forums/topic/where-to-best-put-your-m4l-files-dependencies/
- algorithmic composition
- control surfaces – next week?
patches
- chord2.amxd – a generative midi effect
- gizmo-mod-example.amxd – (a Max help file made into an audio effect)
[wpdm_file id=14]
links
- Eric Ameres Youtube channel http://www.youtube.com/user/learnMax
- The Live object model: http://cycling74.com/docs/max5/refpages/m4l
Max patches
- Basic Max For Live audio effect
- M4L instrument
- adapting a help file
- Live packs (Max for Live essentials from Cycling74)
Assignment – generative music
Design a patch that composes music
Next monday I will be meeting with all of you individually. Its a great opportunity to ask questions about anything – or get help with projects, ideas, etc.,
ep-3xx41 Max – week 8
David Zicarelli from Cycling74
Notes:
– Music is technology independent.
– Technology has a sound.
Music exists on a continuum from predicability to unpredicability
- David on Miller Puckette: He programmed with a bottle of Scotch (a chemical version of Occam’s razor?) His code also featured swear words as variable names. And allegedly he did not always wear pants while working
- One of Cycling74’s goals was simply to make Max into a commercial product.
- I was rejected from every graduate school music program that I applied to.
- The Internet provides an equivalent way for introverts to seek out extroverted people.
- I do wear pants when I’m working.
- The “jumping Rhoomba” – [When you don’t understand how to program something you can get interesting results].
- The world has the same properties as a musical instrument.
- Nobody cares about technology – just the outcome.
- Computers were designed for office work.
- David Rokeby http://en.wikipedia.org/wiki/David_Rokeby Using cameras as controllers to make sound. (specularity)
- For example, Autotune technology has a sound.
Assignment:
Make music based on the two concepts:
- music is technology independent
- technology has a sound
ep-3xx41 Max – week 11
Max For Live
- Max For Live gives you the ability to tweak almost any aspect of Ableton Live. Its equivalent to working under the hood of a car.
examples
- chord.amxd
- tempo-test.amxd
References
- The Live object model: http://cycling74.com/docs/max5/refpages/m4l-ref/m4l_live_object_model.html
- Max For Live video tutorials from Cycling74: https://www.youtube.com/watch?v=GvWN3zJY2ko&list=PLasl9I6VeCCqILUcjNv_TQmdPatD01jPb
- Loudon Stearns – Max For Live API basics: http://www.youtube.com/watch?v=7qAQ2ThQFow
- Andrew Benson’s list of Max For Live tutorials: http://cycling74.com/2012/10/30/pushing-the-edit-button/
Assignment: synopsis
Write a very short composition or sound logo based on a synopsis of a movie, tv show, or product in City Shopper* – For example:
- “A sheriff and deputy try to rid their town of thugs”
- “An evil doll and its mate seek human form”
- “Stewie looks into his future”
- “National Aviation Academy: training aviation professionals since 1932”