Posts: 38
Joined: Tue May 27, 2014 8:44 pm

Sonic Pi Question

Mon Jun 02, 2014 9:13 pm

Hi is there anymore tutorials or more advanced documentation on using Sonic Pi, the ones I have seen is very basic.

User avatar
Posts: 6782
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Sonic Pi Question

Wed Jun 04, 2014 3:40 pm

You could check the comunity in google groups https://groups.google.com/forum/#!forum/sonic-pi they have posted some examples that might be checked out.

It is important also to realize that sonic-pi language is basically the Ruby language so learning a bit of Ruby should most likely give you the tools to do more advanced stuff.

User avatar
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Sonic Pi Question

Wed Jun 04, 2014 4:49 pm

There is a documentation summary sheet here - http://www.cl.cam.ac.uk/projects/raspbe ... tsheet.pdf

There are KS3 Lesson Plans here - http://www.raspberrypi.org/learning/sonic-pi-lessons/

There is a YouTube video of a presentation at the May 2014 Cambridge Raspberry Jam here - https://www.youtube.com/watch?v=NUdAXlcxQgk

But the documentation may look "basic" because the building blocks of SonicPi ARE basic. It is the way they can be combined to do something creative that is the exciting thing about the package.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

User avatar
Posts: 235
Joined: Sun Aug 19, 2012 11:19 am
Location: Cambridgeshire, UK
Contact: Website Twitter

Re: Sonic Pi Question

Wed Jun 04, 2014 7:22 pm

You'll find some documentation by the author Sam Aaron in the project's GitHub repo here: https://github.com/samaaron/sonic-pi/tr ... er/etc/doc
Former RPF staff. Author of gpiozero and creator of piwheels.

Posts: 38
Joined: Tue May 27, 2014 8:44 pm

Re: Sonic Pi Question

Thu Jun 05, 2014 7:51 am

Ok thanks guys

Posts: 162
Joined: Tue Dec 27, 2011 8:32 pm
Location: Near Peterborough
Contact: Website

Re: Sonic Pi Question

Thu Jun 26, 2014 6:24 pm

Hi there. I have been using Sonic Pi since it first came out, and particularly looking at the beta for the new version 2 in the last few weeks. I published some music files for version one in a gist https://gist.github.com/rbnpi/6864617, and have been working in recent weeks rewriting these and producing further more advanced examples using the great new facilities in Sonic Pi 2. I hope to publish these soon, and have also been considering writing some tutorials which go a bit further than the simple ones already published.
Amongst others, I have transcribed a complete movement of a Bach Brandeberg Concerto for Sonic Pi, together with 5 Beatles songs and others besides. I will publish these once Sonic Pi 2 is released, because there have been changes in the betas, and I have already altered some to suit.
Sonic Pi 2 handles thread synchronisation superbly now, and also note entry is much easier with symbolic entry rather than using Midi numbers. As Sam Aaron's article in Magpie shows, it also allows live composing by allowing to create sounds and alter them while they are playing. The use of Sound Samples as well as Synths introduces much greater flexibility, and although the many parameters available to adjust these may appear rather daunting at first, once you get the hang of how they work they are not too difficult to employ. I have even written one program to use one of the sound samples rather like a synth, defining notes over three octaves for it, and then writing a tune using it.
As Topguy said in his reply, Sonic Pi uses Ruby and it is worth looking at some Ruby tutorials so that you can use features of the language in writing Sonic Pi programs. eg http://www.tutorialspoint.com/ruby/index.htm

Return to “General discussion”