Sedsongs: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
== Shell == | == Shell == | ||
<source lang=" | <source lang="bash"> | ||
cat <<EOF | cat <<EOF | ||
@head { | @head { |
Revision as of 16:11, 8 October 2010
A MIDI File
Midge
A Simple song template:
@head {
$time_sig 4/4
$tempo 120
}
@body {
@channel 1 {
$patch 1
$octave 4
$length 16
# notes here!
c e g
}
}
Shell
cat <<EOF
@head {
\$time_sig 4/4
\$tempo 120
}
@body {
@channel 1 {
\$patch 1
\$octave 4
\$length 16
# notes here!
EOF
cat
cat <<EOF
}
}
EOF