Sakuramml Tutorial

This is the Sakuramml tutorial. You can create music using simple "cde" text.

cdefgab

By writing "cdefgab", it will be played as is. The "^" extends the sound, and "r" represents a rest.

sakuramml v.

You can use "+" or "-" to raise or lower the pitch by a half step.

sakuramml v.

Changing the Basic Note Value

By writing "l4" it will be a quarter note. Writing "l8" makes it an eighth note.

sakuramml v.

By adding a number like 4 or 8 after the note names "cde" you can temporarily specify the length of that note.

sakuramml v.

Common Musical Expressions

You can also use rests like "r" and lengthening symbols like "^".

sakuramml v.

Specifying the Octave

To change the octave, use the "o" command.

sakuramml v.

The range is from 0 to 10. For regular melodies, scales around 4 to 7 are typically used.

Additionally, there are commands to raise or lower the octave by one: ">" and "<".

sakuramml v.

There is also a command to raise the octave for the next single note: '`'. To lower it by one for a single note, use '"'.

sakuramml v.

Here is an example of "Sakura Sakura" written in MML (Music Macro Language):

sakuramml v.

Summary of How to Specify Note Lengths

The length of notes is specified using the "l" command.
For example, a quarter note is represented as "l4," and an eighth note as "l8".

Additionally, you can specify the note length by appending it directly to the note name, like "e4." For example, "l4e" and "e4" have the same meaning.

However, when using the "l" command, all subsequent notes will have the same length (e.g., quarter notes), whereas in the latter method, only that specific note will be a quarter note.

For example, let's rewrite "Mary Had a Little Lamb" using temporary note length specifications.

sakuramml v.

(Reference) Note Length Table:

Name How to Write in Sakura
Whole Note l1
Half Note l2
Quarter Note l4
Eighth Note l8
Sixteenth Note l16
Dotted Quarter Note l4.
Quarter Note Triplet {ccc}4

Specifying Multiple Tracks

You can specify multiple tracks.

sakuramml v.

Others

If you want to shorten the duration of a note, use "q".

sakuramml v.

Simplified Repetition Notation

You can express repetitions easily.
The following example repeats a phrase four times.

sakuramml v.

Chord Representation

You can represent chords by writing "'ceg'".

sakuramml v.

Making Only a Part a Chord

By writing `Sub{ Phrase1 } Phrase2`, you can play Phrase1 and Phrase2 simultaneously.

sakuramml v.

Tuplet Representation

By writing `Div{ceg}4`, the quarter note is divided into three equal parts (i.e., twelfth notes) and played accordingly.

sakuramml v.

You can omit `Div` and simply write `{ceg}` instead of `Div{ceg}`.

sakuramml v.

そして、連符表現はネスト(入れ子状態)にすることも可能です。

sakuramml v.

Velocity (Volume)

The volume can be specified in a range from 0 to 127. You can write it as "v120".

sakuramml v.

Web Editor

Samples

FAQ

  • FAQ --- Japanese FAQ