Imagine my excitement then when I was introduced to Sonic Pi by +Sam Aaron, an application for the Raspberry Pi that lets your program music!
What you will need:
- A Raspberry Pi and peripherals (mouse, keyboard, SD card, monitor, that type of thing!)
- some headphones or a mini speaker that will plug into the sound jack port on your Pi.
- The latest version of NOOBS.
- Your imagination!
To play a note in Sonic Pi type 'play' followed by a MIDI note number:
play 60
To add timings between the notes type 'sleep' followed by the amount of time. e.g. 1 for one second, 0.5 for half a second, and so on:
sleep 0.5
To repeat or loop a a sequence use:
3.times do
play 60
sleep 0.5
end
play 60
sleep 0.5
end
To add new synths use:
with_synth "fm"
Learn Sonic Pi at School!
As you may know I am a high school/secondary school computing and ICT teacher, so together with Sam who created Sonic Pi, we wrote a scheme of work that can be taught in schools. Here is a post all about it by +Raspberry Pi with a picture of me teaching it in my school:
Why not ask your teachers about it?
No comments:
Post a Comment