A cool attitude (30 bpm)

“A cool attitude”
Thanks for hearing! If you see someting to improve in my code, tell it to me…I hope you’ll like it… :blush:

soundcloud “cool attitude”

use_bpm 30

a = 0.15
b = 0.2

live_loop :round do
  with_fx :reverb, room: 0.8, mix: 0.8 do
    with_fx :flanger, phase: 0.8, wave: 2, mix: 0.5 do
      play 60,attack: b, release: 10, amp: a
      play 64,attack: b, release: 20, amp: a
      play 67,attack: b, release: 30, amp: a
      play 71,attack: b, release: 40, amp: a
      play 72,attack: b, release: 50, amp: a
      play 74,attack: b, release: 50, amp: a
      sleep 50

live_loop :boom, delay: 8 do
  with_fx :reverb, room: 0.8, mix: 0.7 do
    use_synth :bass_foundation
    play (ring, :g2,:g2,:c3,:c1).tick, amp: 1.5, release: 1.5
    sleep (ring, 0.5,0.5,0.5,2.5).look

with_fx :reverb, room: 0.9, mix: 1 do
  live_loop :piano,  delay: 16 do
    with_fx :reverb, room: 0.9, mix: 1 do
      with_fx :flanger, phase: 0.5, stereo_invert_wave: 1 do
        use_synth :dull_bell
        play 86, release: 10, attack: 0.4, attack_level: 0.3, amp: 0.2
        sleep 10
  live_loop :ryth, delay: 24 do
    cue :round
    sample :loop_breakbeat, beat_stretch: 2
    sleep 2

Love it! The shifting sine tones, the rich bass, the laidback breakbeat, and the slowly shifting different textures and patterns. I usually stay away from reverbs, but it works really well on the drum loop. Maybe place the reverb fx outside the live loops to save cpu cycles, but your sleep times are quite long so I can’t imagine that this will be too resource heavy.

Again, this shows that Sonic Pi really is a musical instrument - in that, you can create any style or genre of music with it.


1 Like

thanks a lot @brendanmac !! It’s very pleasant to read your appreciation! :blush:
I discovered something, it’s this the Ziffers mini-notation for, f.i , Sonic Pi:
and it gives f.i this:

zplay "q 4 e 1 1 q 2 1 r #3 4 ", key: "f", scale: "major", synth: :piano

or that:

z1 "e1",
rules: {
}, synth: :pretty_bell

It makes me think to FoxDot sometimes but it’s normal since ti’s a mini notation!
Does anyone here codes with it? I am going to learn it, it’s interestinf for a live coding session…

I’ve looked at Fox Dot, Tidal Cycles, Orca, as ‘alternatives’ to Sonic Pi, but they appear to require learning a new (or at least unfamiliar) notation system, whereas SPi makes use of very clear instructions: play, sleep, loop, rand, with logical data and control flow. I find inspiration from these other tools in the kind of music and sound worlds they create, and then try to copy that style within Sonic Pi. Although this does look like a handy extension to Sonic Pi, might give it a read.


1 Like

You are right @brendanmac Sonic has a very efficient syntax but the ziffers notation in Sonic ( I have just began to study this particular notation) is interesting for fast coding and it mixes very well with the Sonic syntax. I find that mixing these two one can be efficient and productive…If you try it, make a feedback here to have your opinion? :grinning:

1 Like

(installed and working fine, will PM you once I’ve spent some time with it)

1 Like

okay brendan @brendanmac What’s great with it, it’s that you can mix the two syntaxes…and it’s work very well! and it’s very useful depending on the context…it would be great to if Sam @samaaron could give his own opinion…
I have heard too that an another mini-notation exists in Ruby: has someone some information about it? :slightly_smiling_face:

. . . and now I’ve just discovered bytebeat :man_facepalming:

1 Like

Hello Brendan @brendanmac Thanks for sharing this video, I didn’t know at all this Bytebeat programm., and it’s very intersting too…
Did you try Ziffers in Sonic Pi and what do you think about it?
Best Regards :smiley:

This is very cool.
I didn’t know about the sleep(ring) thing. That’s super useful.
I’ll also check out that notation method you pointed to.