SourceForge.net Logo

1.3. Comments

To improve human legibility and understanding it is allowed to include comments. Two consecutive slash characters (//) will be interpreted as the start of a comment and all text until the end of the line will be ignored. For example:

// This is a score with comments
(score
    (vers 1.5)              // version 1.5 of LDP is used
    (instrument             // Start of music for the first voice
        (musicData          // start this voice
            (clef G)        // Clef: G on 2nd line
            (key C)         // Key signature: C major
            (time 4 4)      // Time signature: 4 4
            (n c4 w)        // Note. Pitch: C4, duration: w (whole note)
            (barline)       // a simple barline
        )
    )
)