$30 off During Our Annual Pro Sale. View Details »

Music composition with Ruby

Music composition with Ruby

What if I told you that you could use your knowledge of Ruby to create sounds even songs? In this talk, I will show you how you can go from coding a beat to a full song whether you are a musician or not.

Avatar for Sandra Kpodar

Sandra Kpodar

October 28, 2025
Tweet

Other Decks in Programming

Transcript

  1. Who am I? • I’m a freelance software engineer with

    a background in education. I’m currently based in France • I'm also an ambivert (half-way between introversion and extroversion) • Generative art is of great interest to me
  2. What I’ll need to create the first beat • The

    sample command • The times method in Ruby • The sleep command
  3. If you’re unfamiliar with music notes, use the table below

    • The play command • The times method • The sleep command • Music notes Credit: Mehackit
  4. Thank you 󰚣 • WNB.rb folks who kindly gave some

    feedback on earlier versions of this lightning talk: Jess, Harriet, Christine • The meetup organising team: Adrianna, Emily • Folks outside of this community who also showed me support and provided feedback on the content: R., D., F.
  5. Some helpful links • Sonic Pi's official website: https://sonic-pi.net/tutorial.html •

    Sonic Pi on GitHub: https://github.com/sonic-pi-net/sonic-pi • Sonic Pi's forum in_thread: https://in-thread.sonic-pi.net/