home.social

#sonic-pi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sonic-pi, aggregated by home.social.

fetched live
  1. What if your computer was a musical instrument?
    Sam Aaron built one. In Ruby. It's been played at the Royal Albert Hall and from the ISS.

    #Rubycon2026 #Ruby #RubyLang #SonicPi #LiveCoding

  2. What if your computer was a musical instrument?
    Sam Aaron built one. In Ruby. It's been played at the Royal Albert Hall and from the ISS.

    #Rubycon2026 #Ruby #RubyLang #SonicPi #LiveCoding

  3. 🚀 NEW on We ❤️ Open Source 🚀

    Jessica Garson (@@jessicagarson) shares how discovering Sonic Pi changed her path—transforming code into live music performances that took her on tour across Europe and Asia.

    Learn how Sonic Pi and SuperCollider make real-time music creation possible through code. 🎶

    allthingsopen.org/articles/tur

    #WeLoveOpenSource #SonicPi #OpenSource #LiveCoding

  4. Sessions from the 24 hour Live Code Stream for Palestine are online.

    Lots of variety and high quality art from people with passion - and a demand for humanity in Palestine ❤️🖤🤍💚

    archive.org/search?query=subje
    #livecoding #algorave #strudel #foxdot #sonicPi #orca #hydra #glsl #electronicMusic

  5. @garpu By the way, did you see what @samaaron did post #SonicPi - he wrote SuperSonic which contains a port of #scsynth to WebAssembly: sonic-pi.net/supersonic/demo.h

  6. I'm teaching Sonic Pi in a music tech class, and because we were using the TB-303 synth in class, I felt compelled to modify what we did to make the Charli XCX “365” bassline:

    #SonicPi #Ruby #Algorave #CharliXCX

  7. I've been wanting to play around with some variations on Steve Reich's "Clapping": youtu.be/lzkOFJMI5i8?si=35fN5r

    I discovered Sonic Pi, which basically lets you write Ruby code to generate music: sonic-pi.net/

    Turns out I *also* have been meaning to learn some Ruby, so: win-win!

    It may seem weird to use Ruby for music programming...but I think it's actually a great idea. Here's some sample code. I love how you can pretty much just read it. (Modulo goofy formatting...)

    live_loop :loopr do
    sample :loop_compus, rate: [0.5, 1, 1, 1, 1, 2].choose unless one_in(10)
    sleep 4
    end

    live_loop :bass do
    sample :bass_voxy_c, amp: rrand(0.1, 0.2), rate: [0.5, 0.5, 1, 1,2,4].choose if one_in(4)
    use_synth :mod_pulse
    use_synth_defaults mod_invert_wave: 1
    play :C1, mod_range: 12, amp: rrand(0.5, 1), mod_phase: [0.25, 0.5, 1].choose, release: 1, cutoff: rrand(50, 90)
    play :C2, mod_range: [24, 36, 34].choose, amp: 0.35, mod_phase: 0.25, release: 2, cutoff: 60, pulse_width: rand
    sleep 1
    end

    #music #ruby #sonicpi #livecoding

  8. sample manipulation is really good in sonic pi

    # guitar_lead.rb
    define :guitar_lead do
    4.times do
    sample :guit_e_fifths, beat_stretch: 6
    sleep 1
    end
    sample :guit_e_fifths, beat_stretch: 6, pitch: -2, amp: 1.5
    sleep 1
    sample :guit_e_fifths, beat_stretch: 6, pitch: 2, amp: 1.5
    sleep 1
    sample :guit_e_fifths, beat_stretch: 6, pitch: -4, amp: 1.5
    sleep 1
    sample :guit_e_fifths, beat_stretch: 6, pitch: 2, amp: 1.5
    sleep 1
    end


    guitar_lead

    #SonicPi #Music #MusicProduction

  9. lmao

    # megalolvania.rb

    use_synth :chiplead
    use_synth_defaults amp: 1, release: 0.3
    play_pattern_timed [:d3, :d3, :d4], 0.15
    sleep 0.1
    play :a3
    sleep 0.4
    play_pattern_timed [:gs3, :g3, :f3], 0.25
    play_pattern_timed [:d3, :f3, :g3], 0.15

    #SonicPi #Undertale #Music #MusicProduction

  10. i kind of imagine this being used to showcase something's afoot on a starship

    # inquisitive_starscape.rb

    define :melody_one do
    use_synth :mod_beep
    use_synth_defaults amp: 0.05
    play_pattern_timed scale(:b4, :minor_pentatonic, num_octaves: 3).shuffle, 0.5
    end

    define :lead_one do
    use_synth :prophet
    use_synth_defaults amp: 0.4
    use_synth_defaults attack: 0.2, sustain: 0.75
    play_pattern_timed [:b4, :a4, :c4, :g4], 4
    end

    define :bass_one do
    use_synth :mod_tri
    use_synth_defaults amp: 0.1
    play_pattern_timed scale(:b2, :minor, num_octaves: 2), 0.5
    end

    in_thread do
    2.times do
    lead_one
    end
    end

    in_thread do
    4.times do
    bass_one
    end
    end

    in_thread do
    4.times do
    melody_one
    end
    end

    #SonicPi #Music #MusicProduction

  11. update: there is a very nice flatpak that solves all of my installation problems with #sonicpi, i have been enjoying myself with the program and writing cool ruby music :neomouse_nerd:

    i take back my criticism but will say it would be nice to have sonic pi in more distribution package managers but i get that linux apps are weird to package on every distro