1. Home
  2. /
  3. Sonic-pi
  4. /
  5. Hello World Tune in Sonic Pi

Hello World Tune in Sonic Pi - Sonic-pi Typing CST Test

Loading…

Hello World Tune in Sonic Pi — Sonic-pi Code

A simple Sonic Pi script that plays a short 'Hello World' melody.

play 60
sleep 0.5
play 62
sleep 0.5
play 64
sleep 0.5
play 67
sleep 1
play 72

Sonic-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.

More Sonic-pi Typing Exercises

Simple Drum BeatAscending ScaleArpeggio ExampleSimple BasslineRandom NotesMelody with ReverbSimple Drum RollChord ProgressionSimple Ambient Loop

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher