Paste: first goofy output of my factor music system

Author: _hrrld
Mode: factor
Date: Mon, 12 Oct 2009 18:37:28
Plain Text |
C 3 pitch boa 1/2 255 note boa
1/2 rest boa
line
E 3 pitch boa 1/2 255 note boa
1/2 rest boa
line
G 3 pitch boa 1/2 255 note boa
1/2 rest boa
line
B 3 pitch boa 1/2 255 note boa
1/2 rest boa
line
line
line
line
dup
-3 transpose boa
line
dup
2 tempo boa
chord
dup
7 transpose boa
line
play
construct-track-seq "test8.mid" write-midi-file

! Then convert the midi to mp3 with a nice tone:
! http://danceliquid.com/docs/horrible-1.mp3
! horrible, isn't it? >:)

Annotation: updated with idiomatic construction instead of boa

Author: _hrrld
Mode: factor
Date: Mon, 12 Oct 2009 18:56:23
Plain Text |
C 3 <pitch> 1/2 255 <note>
1/2 <rest>
line
E 3 <pitch> 1/2 255 <note>
1/2 <rest>
line
G 3 <pitch> 1/2 255 <note>
1/2 <rest>
line
B 3 <pitch> 1/2 255 <note>
1/2 <rest>
line
line
line
line
dup
-3 <transpose>
line
dup
2 <tempo>
chord
dup
7 <transpose>
line
play
construct-track-seq "test9.mid" write-midi-file

New Annotation

Summary:
Author:
Mode:
Body: