Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 19 lines (16 sloc) 0.302 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash

function synth {
    play -n synth 3 $(
        for note in $(echo "$1"); do
echo square $note
        done
    ) tempo "8" fade 0.03 0.3
}

synth 'C2 G5 C3'
synth 'Eb3 G#5 D7'
synth 'G3 Bb5'
synth 'Eb3 A5 C7'
synth 'C2 G#5'
synth 'Eb3 Eb5 Bb6'
synth 'G3 D5 A6'
synth 'Eb3 G5'
Something went wrong with that request. Please try again.