Professional Documents
Culture Documents
Tune Work
Tune Work
(
- $r is the tick speed in Hz
- $a is amplitude [volume] from 0 - 100
- $0 resets the song to start when it is live-loaded
$r8000
$a30
( $0 )
t 10 >> 5 *
( t 3 & | ) ( chirp)
( melody )
5 & 1 + t * )
( 7 & 1 + t * )
( pitch changes )
t 16 >> 3 & 1 + /
10 * 12 /
( drum beat )
( 9999999 x 1 + 25 * / t 1 15 x u + - << % / + )
999999 x 1 + 10 * / t 1 15 x u + - << % / +
x x * u * ^
( key )
2 *
( 9 * 5 / )
( classic arpeggio )
( t 8 >> 3 & )
( funky arp1 )
( t 9 >> 3 & 4 - )
( t 8 >> 3 & 4 - )
( arp segment )
( t 15 >> 1 & * t 18 >> 1 & * )
( arp mix )
( 1 + * )
( classic sound )
( dup t 11 >> 63 & 15 + x + + ^ )
( 303 hardcore )
( dup t 11 >> 15 & 5 + * | )
( organy )
( dup t 4 >> 63 & 79 + x + + ^ )
( techno )
( dup t 4 >> 63 & 3 + x + + ^ 190 & )
( techno 2 )
( dup t 4 >> 63 & t 4 >> 63 & + x + + ^ )
( 8 + )
( filter )
( 255 & 2 / + 2 * 3 / dup )
( less filter )
( 255 & + 1 >> dup )
( ending counter )
v |