Skip to content

Instantly share code, notes, and snippets.

@evanfarrar
Created July 20, 2010 19:32
Show Gist options
  • Save evanfarrar/483429 to your computer and use it in GitHub Desktop.
Save evanfarrar/483429 to your computer and use it in GitHub Desktop.
instrument :bass do
type 0
volume 0.4
sustain 0.1
attack 0.1
decay 0.3
end
instrument :laser do
type 0
sweep 0.12
sustain 0.11
punch 0.09
decay 0.23
freq 0.76
slide -0.42
square 0.08
limit 0.08
end
instrument :jump do
type 0
sustain 0.32
decay 0.27
freq 0.58
slide 0.15
square 0.34
end
song do
bass "A B C E" * 3
laser "A C B E" * 3
jump "4A 4 4A 1 C 1" * 2
end.play
@usergenic
Copy link

is this bloopsophone code?

@evanfarrar
Copy link
Author

It's actually a hacketyhack program, but hacketyhack thinly wraps bloopsaphone with some builders so that you don't have to manage any object state directly. This is not a very good song, something I played with at why's art&&code lesson, but I was using it to show how all these undocumented methods work: http://github.com/hacketyhack/hacketyhack/issues#issue/31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment