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 sourcehttps://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 )

ep-4xx13 DSP – week 12

Mashups

notes

tools

Holiday book recommendations:

Assignment

Work on final projects. Due in class December 16th

 

ep-3xx41 Max – week 12

modern user Interface design:

Max For Live – part 2

notes

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

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
David said that he would be willing to listen to the results and offer suggestions.

 

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
[wpdm_file id=13]

References

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”
Use Max For Live device(s) that you have designed or modified.
*You can use an alternate source. For example, write a composition for a product or film that you are trying to promote – As long as you can describe that product in one sentence.
Extra Credit: Perform the music using a controller that works with a Max For Live device.
Due on November 25.