# First longboard session after winter with Sonic Pi live coded music YT

**URL:** <https://in-thread.sonic-pi.net/t/first-longboard-session-after-winter-with-sonic-pi-live-coded-music-yt/9966>\
**Category:** Performances, Streams & Live Coding\
**Created:** [April 4, 2026, 9:07pm UTC](https://in-thread.sonic-pi.net/t/first-longboard-session-after-winter-with-sonic-pi-live-coded-music-yt/9966 "2026-04-04T21:07:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Relaxnow](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/relaxnow/32/2172_2.png) [@Relaxnow](https://in-thread.sonic-pi.net/u/Relaxnow)\
**Post date:** [April 4, 2026, 9:07pm UTC](https://in-thread.sonic-pi.net/t/first-longboard-session-after-winter-with-sonic-pi-live-coded-music-yt/9966/1 "2026-04-04T21:07:34Z")

</div>

[![](https://i.ytimg.com/vi/C8_gdPZz61Q/hqdefault.jpg "First longboard session after winter with Sonic Pi live coded music") ](https://www.youtube.com/watch?v=C8_gdPZz61Q)

```ruby

# 260404 2307 First longboard session after winter with Sonic Pi live coded music YT
# Saved 260404 2307
# https://in-thread.sonic-pi.net/t/first-longboard-session-after-winter-with-sonic-pi-live-coded-music-yt/9966
# https://youtu.be/C8_gdPZz61Q

/ First longboard session after winter /

# Creates a #### bar to visual show filter value in log
define :bar do |val, max=130, width=13|
  filled = (val.to_f / max * width).round
  empty = width - filled
  "Cutoff: [" + "#" * filled + " " * empty + "] #{val.round}"
end

use_bpm 68
set_volume! 0.5
with_fx :reverb, room: 0.7 do
  with_fx :lpf, cutoff: 100 do |lpf|
    with_fx :flanger, mix: 0.7 do
      with_fx :ping_pong, mix: 0.4, feedback: 0.8 do
        with_fx :krush, mix: 0.1 do
          
          live_loop :a2 do
            tick
            
            l = 16
            control lpf, cutoff: c = knit(60,l,80,l,100,l, 120,l).look
            # control lpf, cutoff: c=line(60,110,steps: 64).look
            puts bar(c) if spread(1,l).look
            
            use_synth :saw#:prophet
            use_synth_defaults release: [0.1,0.2,0.4].choose+0.2, cutoff: [60,70,80,90,110].choose
            k = 32
            play scale(:c2, :mixolydian).take(1).look+[0,0,0,0,12].look+knit(0,k*3,-2,k).look,amp: 1+rdist(0.3), pan: 0.5 if spread(3,5).look
            play scale(:c2, :mixolydian).take(1).look+[0,0,0,0,12].look+knit(0,k*3,-2,k).look,amp: 1+rdist(0.3), pan: -0.5 if spread(3,5).look
            sleep 0.25
          end
          
          live_loop :a1 do
            tick
            
            u = 1
            use_random_seed u+tick
            puts "a=",a = rrand_i(1,8)
            puts "b=",b = rrand_i(1,8)
            
            use_synth :square
            b.times do
              use_synth_defaults release: [0.1,0.2,0.4].choose, cutoff: 60
              play scale(:c4, :mixolydian).choose, amp: 1.2+rdist(0.3)
              sleep 0.25
            end
            
            use_synth :saw
            a.times do
              use_synth_defaults release: [0.1,0.2,0.4].choose, cutoff: 90
              play scale(:c5, :mixolydian).choose,amp: 1+rdist(0.3)
              sleep 0.25
            end
          end
          
        end
      end
    end
  end
end

```

---

<div class="post-metadata">

**Author:** ![HarryLeBlanc](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/harryleblanc/32/2813_2.png) [@HarryLeBlanc](https://in-thread.sonic-pi.net/u/HarryLeBlanc)\
**Post date:** [April 19, 2026, 10:55pm UTC](https://in-thread.sonic-pi.net/t/first-longboard-session-after-winter-with-sonic-pi-live-coded-music-yt/9966/2 "2026-04-19T22:55:54Z")

</div>

Very hypnotic. I like your way of playing related intervals by adding/subtracting a fixed amount. An interesting way to think about melody.

Might be interesting expand this approach to circle around various starting points, not just octaves. Say, an octave, a fifth, a third, a seventh. Might add more variety to the melody.
