Introducing Sonic Tau

Hi everyone,

for the past month I’ve been working on a web port of a subset of Sonic Pi. As mentioned in a recent post I tested it out in a workshop I gave at the Cambridge University Computer Labs. That workshop went well and since then I’ve added a bunch more features and it’s actually starting to feel pretty fun.

You can have a play here: Sonic Tau

Note that this is just a demo - I plan to completely rewrite it from the ground up. However, it’s performaning better than I had hoped so I think it’s a great signpost of where things will go.

For those curious - it’s built directly on top of SuperSonic - my web port of SuperCollider’s scsynth - so gives us full access to all of Sonic Pi’s synths directly in the browser.

Have fun and let me know what you think!

4 Likes

Would You add FREQ as an alternative to PLAY ( then use Hz instead of midi #)

It’s very fun! I tried something mellow.

Tau tune

use_bpm 60

2.times do
live_loop :modpulsy do
use_synth :mod_pulse
play :a3, sustain: 4, mod_range: [1, 5, 8, 12, 15].choose, amp: 0.3
sleep 2
end

live_loop :fred do
use_synth :bass_foundation
play :f2, sustain: 3.5, amp: 1
sleep 4
play :d2, sustain: 3.5, amp: 1
sleep 4
play :g1, sustain: 3.5, amp: 1
sleep 4
play :c2, sustain: 3.5, amp: 1
sleep 4
end

live_loop :pluck do
use_synth :pluck
play [:a5, :c5, :e5].choose, amp: 2
sleep [0.25, 0.75].choose
end
end

5 Likes

Here’s another Sonic Pi piece I made a while ago, converted to Sonic Tau:

the first one, from another thread was:

3 Likes

Wow… these are fun. Clever code also.

1 Like

It looks great with the visualisations, Sam. That’s the waveform there, and is that like a piano-roll to the right?

The interactivity and feedback is also very nice.

It would be great to be able to get a preview of the synths when learning to get into this coding - like a little play button in the synth list popup that appears when coding. It’s easy to get put off by too much choice when you have to manually change the code each time.