DoremiScript

DoremiScript is a small language for creating letter based musical notation. It currently supports western ABC style notation, Numbered notation using 1234567, Sargam notation using english letters SrRgGmMPdnN as used at the AACM for notating Ragas, and Devanagri notation in Bhatkande style (See also) using Devanagri letters for the sargam letters. DoremiScript lets you write letter music notation using an easy-to-read, easy-to-write plain text format, then nicely formats it using css and html. DoremiScript can also generate standard western notation via a Lilypond converter.

Try the online version

Sample Input in AACM Sargam Style

Rag:Bhairavi
Tal:Tintal
Title:Bansuri
Author:Traditional
Source:AAK
Mode: phrygian
Filename: bansuri.sargam
Time: 4/4
Key: d



                               i            IV         . 
         3S             n      +            2         DSnDn
1)|: (Sr | n) S   (gm <P d)> | P - P  P   | P - D    n     |
           .
      ban-    su-  ri          ba- ja ra-   hi  dhu- na

  0  ~                 3           mgm        +  .     *  *   
| P  d   P    d    |  (Pm   PmnP)    (g m) | (PdnS) -- g  S |
  ma-dhu-ra   kan-     nai-           ya      khe-     la-ta

   2               0     
                Pm ~
| (d-Pm  g) P  m | r - S :|
   ga-      wa-ta  ho- ri

DoremiScript HTML Output(screen snapshot)

Screenshot of DoremiScript rendered in html

Generated Western Staff Notation

Converted to western notation