Sedsongs

From XPUB & Lens-Based wiki
Revision as of 16:10, 8 October 2010 by Aymeric Mansoux (talk | contribs)

A MIDI File

File:I.mid


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