Learn to Make Music. With Ruby.
summary
Sonic Pi is a free, multi platform Ruby DSL that runs even on a $35 Raspberry Pi and proves the claim that if you can write code you can make music it shows exact commands used like play, sleep, scale, chord, sample and demonstrates syncing samples with sample_duration or beat_stretch live loops and simple threading to run melody harmony rhythm timbre together it records to WAV supports nested effects and the example performances and classroom curriculum actually work and sound like complete tracks
AI-written summary · about
chapters (40)
- 0:00Start
- 2:05develop a curriculum for bringing sonic pie into primary schools
- 3:21running on the raspberry pi
- 4:26give you a quick music lesson with sonic pie
- 5:46it consists of four different elements melody harmony rhythm and tambo
- 6:18switch over to sonic pi
- 7:45start by playing a single note
- 8:59the note c in the fourth octave
- 9:33make a melody
- 9:50keep all the pieces of your music in sync
- 10:04make it sound like a melody
- 10:48express it in terms of beats per minute
- 11:44build a melody
- 12:23give us a random integer between 60 and 90
- 12:50working with all of the available notes at the same time
- 13:34reducing the number of notes
- 14:06the minor scale
- 15:45speed up the notes
- 18:09articulating the notes of the chord one at a time
- 19:11play the chord
- 20:55create a list of notes
- 21:53reset the tick
- 23:46generate sound in your music
- 24:20try a snare drum
- 25:21start making some drum beats
- 25:47throw in a snare drum
- 27:47sleep for exactly the length of the sample
- 29:34add one line of code
- 31:56cut off apply as a filter to the sound
- 32:23chop off frequencies at a certain level
- 32:38set a lower cutoff
- 33:31stomp on the pedals
- 34:07passed through the reverb
- 36:14use tb-303 for our melody
- 39:15create new loops
- 39:38download and install sonic pi
- 42:01turn a piece of sheet music into midi
- 43:10using your local samples
- 43:49record your performance and save it off as a wav file
- 44:12set up patterns
related talks
30mLive Coding Music with Sonic Pi
33mRocking Out In Ruby - A Playful Introduction to Sonic PI
37mSonic PI: live music, live coding
13mMaking music with Ruby and Sonic Pi
24mWriting Music with Ruby
51mMaking Music with Ruby: Patterns, Context, Fun
33mThe musical Ruby
33mWriting Music with Ruby: A subtle introduction to music theory
