Coding Music with Sonic Pi

History of Sonic Pi

  • Sam Aaron created Sonic Pi
    • Digital musician and Cambridge Computer Lab researcher
  • Uses Ruby
  • Teach appreciation of music and coding
  • "The live coding synth for everyone"
  • (You can also use it to control Minecraft...)
  • Play

 

  • Sleep
  • looping
  • live_loop
  • samples
  • synths

Some built-in opts in Sonic Pi:

  • beat_stretch
  • release
  • attack
  • amp
  • pan
  • cutoff
  • use_bpm

Miscellaneous:

  • rrand/rrand_i
  • rand/rand_i
  • .times
  • .tick
  • .choose
  • .ring
  • cue/sync

Further Reading/Listening

  • Source code behind the project https://github.com/samaaron/sonic-pi
  • Daft Punk on Sonic Pi https://www.youtube.com/watch?v=cydH_JAgSfg
  • ebook by Sonic Pi creator https://www.raspberrypi.org/magpi-issues/Essentials_Sonic_Pi-v1.pdf
  • Sam Aaron on Sonic Pi source code https://www.youtube.com/watch?v=YlRTTzlhquo
Made with Slides.com