{"action":"opened","issue":{"url":"https://api.github.com/repos/jsrmath/markato/issues/22","repository_url":"https://api.github.com/repos/jsrmath/markato","labels_url":"https://api.github.com/repos/jsrmath/markato/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/jsrmath/markato/issues/22/comments","events_url":"https://api.github.com/repos/jsrmath/markato/issues/22/events","html_url":"https://github.com/jsrmath/markato/issues/22","id":173287466,"number":22,"title":"Lilypond/Markato interoperability","user":{"login":"Tembrel","id":237258,"avatar_url":"https://avatars.githubusercontent.com/u/237258?v=3","gravatar_id":"","url":"https://api.github.com/users/Tembrel","html_url":"https://github.com/Tembrel","followers_url":"https://api.github.com/users/Tembrel/followers","following_url":"https://api.github.com/users/Tembrel/following{/other_user}","gists_url":"https://api.github.com/users/Tembrel/gists{/gist_id}","starred_url":"https://api.github.com/users/Tembrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tembrel/subscriptions","organizations_url":"https://api.github.com/users/Tembrel/orgs","repos_url":"https://api.github.com/users/Tembrel/repos","events_url":"https://api.github.com/users/Tembrel/events{/privacy}","received_events_url":"https://api.github.com/users/Tembrel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T19:21:29Z","updated_at":"2016-08-25T19:21:29Z","closed_at":null,"body":"*This is an open-ended issue/question that might belong more properly in a Wiki page.*\r\n\r\nHere's a short Markato song:\r\n```\r\n##TITLE  Row Your Boat\r\n##ARTIST Tim Peierls\r\n##KEY    F\r\n\r\n: Fmaj9 Dm7 Am7/D Dm7\r\n^Row, row, ^row ^your ^boat\r\n\r\n: Gm9 C9 Bbmaj7/C C9\r\n^Gently down the ^stream ^ ^\r\n\r\n: Fmaj9 Dm7 Am7/D Dm7\r\n^Merrily, merrily, ^merri^ly, ^merrily\r\n\r\n: Gm9 C9 Bbmaj7/C C9\r\n^Life is but a ^dream ^ ^\r\n```\r\nand here's a roughly equivalent rendering with Lilypond:\r\n```\r\n\\version \"2.19.46\"\r\n\r\n\\language english\r\n\r\n\\header {\r\n  title = \"Row Your Boat\"\r\n  composer = \"Tim Peierls\"\r\n  tagline = ##f\r\n}\r\n\r\n% Change the transposedKey value to render in different key\r\ntransposedKey = f\r\noriginalKey = f\r\n\r\ncommon = {\r\n  \\key \\originalKey \\major\r\n  \\time 12/8\r\n}\r\n\r\nharmony = \\chordmode {\r\n  f2.:maj7 d4:m7 a8:m7/d d4.:m7\r\n  g2.:m9 c4:9 bf8:maj7/c c4.:9\r\n}\r\n\r\nmelody = \\relative c' {\r\n  f4. f f4 g8 a4. |\r\n  a4 g8 a4 bf8 c2. |\r\n  f8 f f c c c a a a f f f |\r\n  c'4 bf8 a4 g8 f2. |\r\n  \\bar \"|.\"\r\n}\r\n\r\n\r\nwords = \\lyricmode {\r\n  Row, row, row your boat\r\n  gent -- ly down the stream.\r\n  Mer -- ri --ly, mer -- ri -- ly,\r\n    mer -- ri -- ly, mer -- ri -- ly,\r\n  life is but a dream.\r\n}\r\n\r\n\r\n\\score {\r\n  <<\r\n    \\chords {\r\n      \\transpose \\originalKey \\transposedKey {\r\n        \\harmony \\harmony\r\n      }\r\n    }\r\n    \\new Staff {\r\n      \\transpose \\originalKey \\transposedKey {\r\n        \\common \\melody\r\n      }\r\n    }\r\n    \\addlyrics \\words\r\n  >>\r\n  \\layout {}\r\n  \\midi { \\tempo 4. = 120 }\r\n}\r\n```\r\n(Don't worry about the dissonance on \"dream\".)\r\n\r\nThe latter generates ![this score](https://cloud.githubusercontent.com/assets/237258/17982731/39549cce-6ad7-11e6-9b92-c6df1ddfa483.png)\r\nand a MIDI file (not shown here).\r\n\r\nQuestion is whether there are compelling uses for being able to convert between these formats. One might, having written a song in Lilypond, want a quick way to publish it as chords-and-lyrics in Markato. Conversely, one might, having jotted a song down in Markato (with the melody in one's head), want a quick way to create a Lilypond source file to finish notating the melody and produce a lead sheet.\r\n\r\nThis raises an even bigger question: Would it be desirable to extend the Markato format to include melody and rhythm? The obvious extension point would be through the comment line.\r\n\r\nAnd that leads to one more thing to consider for Markato, related to but independent of the above: support for syllabification markup. I would nominate the underscore character (`_`) as good candidate for this."}}
{"actor":{"display_login":"Tembrel"}}