Simple Bassline - Sonic-pi Typing CST Test
Loading…
Simple Bassline — Sonic-pi Code
Plays a repeating bassline pattern.
use_synth :fm
play 36
sleep 0.5
play 38
sleep 0.5
play 40
sleep 0.5
play 41
sleep 0.5Sonic-pi Language Guide
Sonic Pi is a live coding environment designed for creating music using code. It allows users to compose, perform, and experiment with sounds in real-time, blending programming with musical creativity.
Primary Use Cases
- ▸Teaching coding through music in schools and workshops
- ▸Live coding performances and concerts
- ▸Composing experimental electronic music
- ▸Creating interactive sound installations
- ▸Learning synthesis, loops, and algorithmic composition
Notable Features
- ▸Real-time audio synthesis and live coding
- ▸Simple Ruby-based programming syntax
- ▸Built-in samples, synths, and effects
- ▸Support for loops, threads, and concurrency
- ▸Open-source and cross-platform
Origin & Creator
Sonic Pi was created by Sam Aaron in 2011 at the University of Cambridge as a tool for teaching programming through music and live coding performances.
Industrial Note
Primarily used in education, live coding, and music experimentation. It has niche usage in digital art performances and experimental music, rather than mainstream music production.