diff --git a/lilypond/includes/part_I.ly b/lilypond/includes/part_I.ly index 92384ed..49c9ec0 100644 --- a/lilypond/includes/part_I.ly +++ b/lilypond/includes/part_I.ly @@ -1,65 +1,6 @@ -{ - { c'4^\markup { \pad-markup #0.2 "+0"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "1/1" }} ~ c'2. ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'16[ d'8.^\markup { \pad-markup #0.2 "-45"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super "7/8" }}] ~ d'2. ~ } - \bar "|" - { d'2. ~ d'8[ d'8^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "8/7" }}] ~ } - \bar "|" \pageBreak - { d'4 ~ d'8.[ e'16^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "16/13" }}] ~ e'2 ~ } - \bar "|" - { e'2 ~ e'16[ f'8.^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "4/3" }}] ~ f'4 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'1 } - \bar "|" \break \noPageBreak - { fis'4^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "11/8" }} ~ fis'2. ~ } - \bar "|" - { fis'1 ~ } - \bar "|" - { fis'1 ~ } - \bar "|" - { fis'4 ~ fis'8[ g'8^\markup { \pad-markup #0.2 "+29"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super "16/7" }}] ~ g'2 ~ } - \bar "|" \break \noPageBreak - { g'1 ~ } - \bar "|" - { g'1 ~ } - \bar "|" - { g'1 ~ } - \bar "|" - { g'1 ~ } - \bar "|" \pageBreak - { g'4 ~ g'8[ r8] r2 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" \break \noPageBreak - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } -} \ No newline at end of file +\include "../../resources/314s49e1/lilypond/part_I.ly" +\include "../../resources/4c01589b/lilypond/part_I.ly" +\include "../../resources/7e170ef8/lilypond/part_I.ly" +\include "../../resources/7ac10d34/lilypond/part_I.ly" +\include "../../resources/640eeed3/lilypond/part_I.ly" +\include "../../resources/5e947063/lilypond/part_I.ly" diff --git a/lilypond/includes/part_II.ly b/lilypond/includes/part_II.ly index ec1e9bc..d004f75 100644 --- a/lilypond/includes/part_II.ly +++ b/lilypond/includes/part_II.ly @@ -1,65 +1,6 @@ -{ - { r1 } - \bar "|" - { r1 } - \bar "|" - { r16[ c''8.^\markup { \pad-markup #0.2 "+0"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "2/1" }}] ~ c''2. ~ } - \bar "|" - { c''8.[ fis'16^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "11/8" }}] ~ fis'2. ~ } - \bar "|" \break \noPageBreak - { fis'2 ~ fis'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super "2/1" }}] ~ f'4 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'8[ e'8^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "5/4" }}] ~ e'2. ~ } - \bar "|" \break \noPageBreak - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" \pageBreak - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" - { e'1 ~ } - \bar "|" \break \noPageBreak - { e'1 ~ } - \bar "|" - { e'2 ~ e'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super "2/1" }}] ~ f'4 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'1 ~ } - \bar "|" \break \noPageBreak - { f'1 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'1 ~ } - \bar "|" - { f'1 ~ } - \bar "|" \pageBreak - { f'1 ~ } - \bar "|" - { f'16[ r8.] r2. } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" \break \noPageBreak - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } -} \ No newline at end of file +\include "../../resources/314s49e1/lilypond/part_II.ly" +\include "../../resources/4c01589b/lilypond/part_II.ly" +\include "../../resources/7e170ef8/lilypond/part_II.ly" +\include "../../resources/7ac10d34/lilypond/part_II.ly" +\include "../../resources/640eeed3/lilypond/part_II.ly" +\include "../../resources/5e947063/lilypond/part_II.ly" diff --git a/lilypond/includes/part_III.ly b/lilypond/includes/part_III.ly index a89a794..5272028 100644 --- a/lilypond/includes/part_III.ly +++ b/lilypond/includes/part_III.ly @@ -1,65 +1,6 @@ -{ - { r1 } - \bar "|" - { r1 } - \bar "|" - { r16[ d8.^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "4/7" }}] ~ d2. ~ } - \bar "|" - { d8.[ e16^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "8/13" }}] ~ e2. ~ } - \bar "|" \break \noPageBreak - { e2 ~ e8.[ f16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "2/3" }}] ~ f4 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" \break \noPageBreak - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f16[ fis8.^\markup { \pad-markup #0.2 "+17"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super "4/7" }}] ~ fis4 ~ fis8.[ g16^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "3/4" }}] ~ g4 ~ } - \bar "|" - { g2. ~ g8[ gis8^\markup { \pad-markup #0.2 "-27"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super "5/8" }}] ~ } - \bar "|" \pageBreak - { gis4 ~ gis8.[ fis16^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "8/11" }}] ~ fis2 ~ } - \bar "|" - { fis1 ~ } - \bar "|" - { fis1 ~ } - \bar "|" - { fis2 ~ fis8[ fis8^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super "11/16" }}] ~ fis4 } - \bar "|" \break \noPageBreak - { f4^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super "1/2" }} ~ f2. ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" \break \noPageBreak - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" - { f1 ~ } - \bar "|" \pageBreak - { f1 ~ } - \bar "|" - { f16[ r8.] r2. } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" \break \noPageBreak - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } -} \ No newline at end of file +\include "../../resources/314s49e1/lilypond/part_III.ly" +\include "../../resources/4c01589b/lilypond/part_III.ly" +\include "../../resources/7e170ef8/lilypond/part_III.ly" +\include "../../resources/7ac10d34/lilypond/part_III.ly" +\include "../../resources/640eeed3/lilypond/part_III.ly" +\include "../../resources/5e947063/lilypond/part_III.ly" diff --git a/lilypond/includes/part_IV.ly b/lilypond/includes/part_IV.ly index 9bc7377..ac08915 100644 --- a/lilypond/includes/part_IV.ly +++ b/lilypond/includes/part_IV.ly @@ -1,65 +1,6 @@ -{ - { c'1^\markup { \pad-markup #0.2 "+0"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "nil"\normal-size-super "1/1" }} ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \pageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" - { c'1 ~ } - \bar "|" \break \noPageBreak - { c'2. ~ c'8[ a,8^\markup { \pad-markup #0.2 "-16"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super "5/8" }}] ~ } - \bar "|" - { a,1 ~ } - \bar "|" - { a,2 ~ a,8.[ ais,16^\markup { \pad-markup #0.2 "-4"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super "2/3" }}] ~ ais,4 ~ } - \bar "|" - { ais,1 ~ } - \bar "|" \pageBreak - { ais,4 ~ ais,8[ r8] r2 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" \break \noPageBreak - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } - \bar "|" - { r1 } -} \ No newline at end of file +\include "../../resources/314s49e1/lilypond/part_IV.ly" +\include "../../resources/4c01589b/lilypond/part_IV.ly" +\include "../../resources/7e170ef8/lilypond/part_IV.ly" +\include "../../resources/7ac10d34/lilypond/part_IV.ly" +\include "../../resources/640eeed3/lilypond/part_IV.ly" +\include "../../resources/5e947063/lilypond/part_IV.ly" diff --git a/lilypond/score_template.ly b/lilypond/score_template.ly index 5c6aa53..f2845bd 100644 --- a/lilypond/score_template.ly +++ b/lilypond/score_template.ly @@ -169,35 +169,45 @@ shortInstrumentName = "I" midiInstrument = #"clarinet" } - << + %<< + { \include "includes/part_I.ly" - >> + %\include "../resources/314s49e1/lilypond/part_I.ly" + %\include "../resources/4c01589b/lilypond/part_I.ly" + } + %>> \new Staff = "II" \with { instrumentName = "II" shortInstrumentName = "II" midiInstrument = #"clarinet" } - << + %<< + { \include "includes/part_II.ly" - >> + } + %>> \new Staff = "III" \with { instrumentName = "III" shortInstrumentName = "III" midiInstrument = #"clarinet" \clef alto } - << + %<< + { \include "includes/part_III.ly" - >> + } + %>> \new Staff = "IV" \with { instrumentName = "IV" shortInstrumentName = "IV" midiInstrument = #"clarinet" \clef bass } - << + %<< + { \include "includes/part_IV.ly" - >> + } + %>> >> } >> diff --git a/lilypond/score_template.pdf b/lilypond/score_template.pdf index f6de6ee..c007015 100644 Binary files a/lilypond/score_template.pdf and b/lilypond/score_template.pdf differ diff --git a/open_stage_control/modules/custom_module.js b/open_stage_control/modules/custom_module.js index f9acfec..a1d99a8 100644 --- a/open_stage_control/modules/custom_module.js +++ b/open_stage_control/modules/custom_module.js @@ -334,7 +334,14 @@ module.exports = { return data } - if (address === '/transcribe') { + if (address === '/transcribe_motif') { + var model = {} + model.music_data = JSON.parse(args[1].value) + args[1].value = JSON.stringify(model) + return {host, port, address, args} + } + + if (address === '/transcribe_all') { return data } diff --git a/open_stage_control/seeds_and_ledgers_gui.json b/open_stage_control/seeds_and_ledgers_gui.json index 6fecd93..4063582 100644 --- a/open_stage_control/seeds_and_ledgers_gui.json +++ b/open_stage_control/seeds_and_ledgers_gui.json @@ -257,7 +257,7 @@ "top": 10, "left": 310, "lock": false, - "id": "transcribe", + "id": "transcribe_motif", "visible": true, "interaction": true, "comments": "", @@ -287,7 +287,7 @@ "ignoreDefaults": false, "bypass": true, "onCreate": "", - "onValue": "if(value === 1){\n send(false, \"/transcribe\", 2, get(\"mus_seq\"));\n}\n ", + "onValue": "if(value === 1){\n send(false, \"/transcribe_motif\", get(\"ref_uid\"), get(\"mus_seq\"));\n}\n ", "colorTextOn": "auto", "label": "transcribe", "vertical": false, @@ -992,7 +992,7 @@ "visible": true, "interaction": true, "comments": "", - "width": 150, + "width": 70, "height": 30, "expand": "false", "colorText": "auto", @@ -1028,6 +1028,52 @@ "bypass": true, "onCreate": "", "onValue": "if(value === 1){\n send(false, \"/transport\", 1, get(\"start_play_index\"));\n} else {\n send(false, \"/transport\", 0, get(\"start_play_index\"));\n}" + }, + { + "type": "button", + "top": 90, + "left": 90, + "lock": false, + "id": "transcribe_all", + "visible": true, + "interaction": true, + "comments": "", + "width": 70, + "height": 30, + "expand": "false", + "colorText": "auto", + "colorWidget": "auto", + "colorStroke": "auto", + "colorFill": "auto", + "alphaStroke": "auto", + "alphaFillOff": "auto", + "alphaFillOn": "auto", + "lineWidth": "auto", + "borderRadius": "auto", + "padding": "auto", + "html": "", + "css": "", + "value": "", + "default": 0, + "linkId": "", + "address": "auto", + "preArgs": "", + "typeTags": "", + "decimals": 2, + "target": "", + "ignoreDefaults": false, + "bypass": true, + "onCreate": "", + "onValue": "if(value === 1){\n //send(false, \"/transcribe\", get(\"ref_uid\"), get(\"mus_seq\"));\n send(false, \"/transcribe_all\", get(\"start_play_index\"));\n}\n ", + "colorTextOn": "auto", + "label": "transcribe", + "vertical": false, + "wrap": false, + "on": 1, + "off": 0, + "mode": "toggle", + "doubleTap": false, + "decoupled": false } ], "tabs": [], diff --git a/resources/314s49e1/lilypond/part_I.ly b/resources/314s49e1/lilypond/part_I.ly new file mode 100644 index 0000000..85c20f0 --- /dev/null +++ b/resources/314s49e1/lilypond/part_I.ly @@ -0,0 +1,56 @@ +{ + { r4 r8.[ c'16^\markup { \pad-markup #0.2 "+0"}] ~ c'2 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 } + \bar "|" \break + { b4^\markup { \pad-markup #0.2 "+47"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -11" }} ~ b2. ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b4 ~ b8[ ais8^\markup { \pad-markup #0.2 "+35"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }}] ~ ais8.[ a16^\markup { \pad-markup #0.2 "-20"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ a4 ~ } + \bar "|" + { a1 ~ } + \bar "|" \break + { a1 ~ } + \bar "|" + { a1 ~ } + \bar "|" + { a16[ a8.^\markup { \pad-markup #0.2 "+16"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +7" }}] ~ a2. } + \bar "|" + { gis4^\markup { \pad-markup #0.2 "-13"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +13" }} ~ gis2. ~ } + \bar "|" \break + { gis8.[ gis16^\markup { \pad-markup #0.2 "-40"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -5" }}] ~ gis2. ~ } + \bar "|" + { gis4 ~ gis8[ f8^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +1" }}] ~ f4 fis4^\markup { \pad-markup #0.2 "-5"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -11" }} ~ } + \bar "|" + { fis2. ~ fis8[ gis8^\markup { \pad-markup #0.2 "-13"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +13" }}] ~ } + \bar "|" + { gis1 ~ } + \bar "|" \break + { gis1 ~ } + \bar "|" + { gis1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/314s49e1/lilypond/part_II.ly b/resources/314s49e1/lilypond/part_II.ly new file mode 100644 index 0000000..be932c7 --- /dev/null +++ b/resources/314s49e1/lilypond/part_II.ly @@ -0,0 +1,56 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r16[ ais8.^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +7" }}] ~ ais2. ~ } + \bar "|" \break + { ais2. gis4^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -5" }} ~ } + \bar "|" + { gis16[ fis8.^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -11" }}] ~ fis2. ~ } + \bar "|" + { fis1 ~ } + \bar "|" + { fis1 ~ } + \bar "|" \break + { fis1 ~ } + \bar "|" + { fis1 ~ } + \bar "|" + { fis1 ~ } + \bar "|" + { fis1 ~ } + \bar "|" \break + { fis1 ~ } + \bar "|" + { fis2 ~ fis8.[ r16] r4 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/314s49e1/lilypond/part_III.ly b/resources/314s49e1/lilypond/part_III.ly new file mode 100644 index 0000000..cd7eb0f --- /dev/null +++ b/resources/314s49e1/lilypond/part_III.ly @@ -0,0 +1,56 @@ +{ + { r2. e'4^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -13" }} ~ } + \bar "|" + { e'2 e'4^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }} ~ e'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -3" }}] ~ } + \bar "|" + { f'4 ~ f'8[ g'8^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +3" }}] ~ g'4 ~ g'8[ ais'8^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +7" }}] ~ } + \bar "|" + { ais'4 ~ ais'8[ c''8^\markup { \pad-markup #0.2 "+0"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +1" }}] ~ c''2 } + \bar "|" \break + { gis'4^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +13" }} ~ gis'8.[ gis'16^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -5" }}] ~ gis'4 ~ gis'8[ f'8^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -3" }}] ~ } + \bar "|" + { f'2 e'4^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }} ~ e'8[ r8] } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r2 r16[ dis'8.^\markup { \pad-markup #0.2 "-38"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }}] ~ dis'4 ~ } + \bar "|" \break + { dis'1 ~ } + \bar "|" + { dis'8[ dis'8^\markup { \pad-markup #0.2 "-11"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +13" }}] ~ dis'2 d'4^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +3" }} ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'4 ~ d'8[ ais8^\markup { \pad-markup #0.2 "+35"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }}] ~ ais2 ~ } + \bar "|" \break + { ais1 ~ } + \bar "|" + { ais8.[ b16^\markup { \pad-markup #0.2 "+47"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -3" }}] ~ b2. ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" \break + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" \break + { b2 ~ b16[ r8.] r4 } + \bar "|" + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/314s49e1/lilypond/part_IV.ly b/resources/314s49e1/lilypond/part_IV.ly new file mode 100644 index 0000000..bf8d298 --- /dev/null +++ b/resources/314s49e1/lilypond/part_IV.ly @@ -0,0 +1,56 @@ +{ + { c'4^\markup { \pad-markup #0.2 "+0"} ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'4 ~ c'16[ e'8.^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -13" }}] ~ e'2 ~ } + \bar "|" + { e'2 ~ e'8.[ g'16^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +3" }}] ~ g'4 ~ } + \bar "|" \break + { g'4 ~ g'8[ ais'8^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +1" }}] ~ ais'2 ~ } + \bar "|" + { ais'4 ~ ais'8.[ gis'16^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +13" }}] ~ gis'2 } + \bar "|" + { gis'2^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -5" }} ~ gis'8[ g'8^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +3" }}] ~ g'4 ~ } + \bar "|" + { g'8[ f'8^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -3" }}] ~ f'2. ~ } + \bar "|" \break + { f'4 ~ f'8[ e'8^\markup { \pad-markup #0.2 "+18"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +7" }}] ~ e'2 ~ } + \bar "|" + { e'1 ~ } + \bar "|" + { e'16[ fis'8.^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +1" }}] ~ fis'2. ~ } + \bar "|" + { fis'1 ~ } + \bar "|" \break + { fis'16[ a'8.^\markup { \pad-markup #0.2 "-20"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +1" }}] ~ a'2 ~ a'16[ ais'8.^\markup { \pad-markup #0.2 "+8"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -13" }}] ~ } + \bar "|" + { ais'1 ~ } + \bar "|" + { ais'2 ~ ais'16[ b'8.^\markup { \pad-markup #0.2 "+47"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +1" }}] ~ b'4 ~ } + \bar "|" + { b'2 ~ b'8[ a'8^\markup { \pad-markup #0.2 "+16"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +7" }}] ~ a'4 ~ } + \bar "|" \break + { a'2 ~ a'8.[ fis'16^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +3" }}] ~ fis'4 ~ } + \bar "|" + { fis'16[ f'8.^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +11" }}] ~ f'2. ~ } + \bar "|" + { f'4 ~ f'8.[ e'16^\markup { \pad-markup #0.2 "+45"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -3" }}] ~ e'2 ~ } + \bar "|" + { e'1 ~ } + \bar "|" \break + { e'1 ~ } + \bar "|" + { e'4 ~ e'16[ r8.] r2 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/4c01589b/lilypond/part_I.ly b/resources/4c01589b/lilypond/part_I.ly new file mode 100644 index 0000000..bb73c8a --- /dev/null +++ b/resources/4c01589b/lilypond/part_I.ly @@ -0,0 +1,40 @@ +{ + { r2. r8[ e'8^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +5" }}] ~ } + \bar "|" + { e'1 ~ } + \bar "|" + { e'4 ~ e'8[ f'8^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -3" }}] ~ f'4 ~ f'16[ e'8.^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -13" }}] ~ } + \bar "|" + { e'1 ~ } + \bar "|" \break + { e'2 d'4^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -7" }} ~ d'4 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" \break + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'2 r2 } + \bar "|" \break + { r8.[ d'16^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -7" }}] ~ d'2. ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" \break + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'16[ r8.] r2. } +\bar "||" +} \ No newline at end of file diff --git a/resources/4c01589b/lilypond/part_II.ly b/resources/4c01589b/lilypond/part_II.ly new file mode 100644 index 0000000..b5d6c3d --- /dev/null +++ b/resources/4c01589b/lilypond/part_II.ly @@ -0,0 +1,40 @@ +{ + { c'4^\markup { \pad-markup #0.2 "+0"} ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'2. ~ c'8.[ b16^\markup { \pad-markup #0.2 "-12"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }}] ~ } + \bar "|" + { b4 b4^\markup { \pad-markup #0.2 "-39"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -13" }} ~ b2 ~ } + \bar "|" + { b16[ cis'8.^\markup { \pad-markup #0.2 "-47"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +11" }}] ~ cis'4 ~ cis'8[ ais8^\markup { \pad-markup #0.2 "+45"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -5" }}] ~ ais4 ~ } + \bar "|" + { ais8[ a8^\markup { \pad-markup #0.2 "+33"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ a8[ b8^\markup { \pad-markup #0.2 "-28"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +13" }}] ~ b2 ~ } + \bar "|" \break + { b8.[ c'16^\markup { \pad-markup #0.2 "+0"}] ~ c'2 ~ c'8.[ b16^\markup { \pad-markup #0.2 "-39"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -13" }}] ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b2 c'4^\markup { \pad-markup #0.2 "+0"} ~ c'4 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'8.[ r16] r2. } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/4c01589b/lilypond/part_III.ly b/resources/4c01589b/lilypond/part_III.ly new file mode 100644 index 0000000..4b5b8ae --- /dev/null +++ b/resources/4c01589b/lilypond/part_III.ly @@ -0,0 +1,40 @@ +{ + { r2. r8[ ais8^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +7" }}] ~ } + \bar "|" + { ais2 gis4^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }} ~ gis4 ~ } + \bar "|" + { gis4 ~ gis8[ g8^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +3" }}] ~ g2 ~ } + \bar "|" + { g1 ~ } + \bar "|" \break + { g1 ~ } + \bar "|" + { g1 ~ } + \bar "|" + { g1 ~ } + \bar "|" + { g1 ~ } + \bar "|" \break + { g1 ~ } + \bar "|" + { g8.[ g16^\markup { \pad-markup #0.2 "+29"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -3" }}] ~ g8.[ a16^\markup { \pad-markup #0.2 "+33"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ a2 ~ } + \bar "|" + { a8.[ gis16^\markup { \pad-markup #0.2 "+30"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +7" }}] ~ gis2 ~ gis8.[ a16^\markup { \pad-markup #0.2 "-20"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -11" }}] ~ } + \bar "|" + { a2 r2 } + \bar "|" \break + { r1 } + \bar "|" + { r16[ gis8.^\markup { \pad-markup #0.2 "-18"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +11" }}] ~ gis2. } + \bar "|" + { gis4^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +13" }} ~ gis8[ gis8^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }}] ~ gis2 } + \bar "|" + { g4^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +1" }} ~ g4 g4^\markup { \pad-markup #0.2 "+29"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -3" }} ~ g4 ~ } + \bar "|" \break + { g8.[ a16^\markup { \pad-markup #0.2 "-20"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -11" }}] ~ a2. ~ } + \bar "|" + { a1 ~ } + \bar "|" + { a16[ r8.] r2. } +\bar "||" +} \ No newline at end of file diff --git a/resources/4c01589b/lilypond/part_IV.ly b/resources/4c01589b/lilypond/part_IV.ly new file mode 100644 index 0000000..3af34e1 --- /dev/null +++ b/resources/4c01589b/lilypond/part_IV.ly @@ -0,0 +1,40 @@ +{ + { r2. r8[ gis8^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +13" }}] ~ } + \bar "|" + { gis1 ~ } + \bar "|" + { gis4 ~ gis8[ ais8^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +7" }}] ~ ais4 ~ ais16[ d'8.^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -7" }}] ~ } + \bar "|" + { d'2 ~ d'8[ f'8^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -3" }}] ~ f'4 ~ } + \bar "|" \break + { f'2 g'2^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +1" }} ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'8.[ r16] r2. } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/5e947063/lilypond/part_I.ly b/resources/5e947063/lilypond/part_I.ly new file mode 100644 index 0000000..d88c2e4 --- /dev/null +++ b/resources/5e947063/lilypond/part_I.ly @@ -0,0 +1,32 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r2 b4^\markup { \pad-markup #0.2 "+11"} ~ b4 ~ } + \bar "|" \break + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" \break + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b1 ~ } + \bar "|" + { b2. ~ b16[ r8.] } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/5e947063/lilypond/part_II.ly b/resources/5e947063/lilypond/part_II.ly new file mode 100644 index 0000000..a8b5988 --- /dev/null +++ b/resources/5e947063/lilypond/part_II.ly @@ -0,0 +1,32 @@ +{ + { c'4^\markup { \pad-markup #0.2 "+0"} ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'4 ~ c'8.[ dis'16^\markup { \pad-markup #0.2 "-3"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +5" }}] ~ dis'2 ~ } + \bar "|" + { dis'1 ~ } + \bar "|" + { dis'1 ~ } + \bar "|" + { dis'1 ~ } + \bar "|" \break + { dis'1 ~ } + \bar "|" + { dis'1 ~ } + \bar "|" + { dis'4 ~ dis'8.[ r16] r2 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/5e947063/lilypond/part_III.ly b/resources/5e947063/lilypond/part_III.ly new file mode 100644 index 0000000..bfe82ad --- /dev/null +++ b/resources/5e947063/lilypond/part_III.ly @@ -0,0 +1,32 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r4 r8[ g8^\markup { \pad-markup #0.2 "+25"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +1" }}] ~ g2 ~ } + \bar "|" \break + { g2 ~ g8[ r8] r4 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/5e947063/lilypond/part_IV.ly b/resources/5e947063/lilypond/part_IV.ly new file mode 100644 index 0000000..da59bbd --- /dev/null +++ b/resources/5e947063/lilypond/part_IV.ly @@ -0,0 +1,32 @@ +{ + { r1 } + \bar "|" + { r4 r8.[ gis'16^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }}] ~ gis'2 ~ } + \bar "|" + { gis'4 ~ gis'8[ fis'8^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -11" }}] ~ fis'2 ~ } + \bar "|" + { fis'1 ~ } + \bar "|" \break + { fis'1 ~ } + \bar "|" + { fis'1 ~ } + \bar "|" + { fis'8.[ g'16^\markup { \pad-markup #0.2 "+25"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -5" }}] ~ g'2. ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'2 ~ g'8[ r8] r4 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/640eeed3/lilypond/part_I.ly b/resources/640eeed3/lilypond/part_I.ly new file mode 100644 index 0000000..c9befca --- /dev/null +++ b/resources/640eeed3/lilypond/part_I.ly @@ -0,0 +1,14 @@ +{ + { r1 } + \bar "|" + { r2 r16[ b8.^\markup { \pad-markup #0.2 "+11"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -7" }}] ~ b4 ~ } + \bar "|" + { b2 ~ b8.[ r16] r4 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/640eeed3/lilypond/part_II.ly b/resources/640eeed3/lilypond/part_II.ly new file mode 100644 index 0000000..e6f1a35 --- /dev/null +++ b/resources/640eeed3/lilypond/part_II.ly @@ -0,0 +1,14 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/640eeed3/lilypond/part_III.ly b/resources/640eeed3/lilypond/part_III.ly new file mode 100644 index 0000000..d922a8e --- /dev/null +++ b/resources/640eeed3/lilypond/part_III.ly @@ -0,0 +1,14 @@ +{ + { a4^\markup { \pad-markup #0.2 "-20"} ~ a2. ~ } + \bar "|" + { a1 ~ } + \bar "|" + { a1 ~ } + \bar "|" + { a1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/640eeed3/lilypond/part_IV.ly b/resources/640eeed3/lilypond/part_IV.ly new file mode 100644 index 0000000..e6f1a35 --- /dev/null +++ b/resources/640eeed3/lilypond/part_IV.ly @@ -0,0 +1,14 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7ac10d34/lilypond/part_I.ly b/resources/7ac10d34/lilypond/part_I.ly new file mode 100644 index 0000000..7ffc0e0 --- /dev/null +++ b/resources/7ac10d34/lilypond/part_I.ly @@ -0,0 +1,28 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r2. r8[ d''8^\markup { \pad-markup #0.2 "+31"}] ~ } + \bar "|" + { d''1 ~ } + \bar "|" + { d''1 ~ } + \bar "|" + { d''1 ~ } + \bar "|" \break + { d''1 ~ } + \bar "|" + { d''1 ~ } + \bar "|" + { d''2. ~ d''8[ r8] } + \bar "|" + { r1 } + \bar "|" \break + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7ac10d34/lilypond/part_II.ly b/resources/7ac10d34/lilypond/part_II.ly new file mode 100644 index 0000000..378ed8a --- /dev/null +++ b/resources/7ac10d34/lilypond/part_II.ly @@ -0,0 +1,28 @@ +{ + { r2 r8.[ gis'16^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +13" }}] ~ gis'4 ~ } + \bar "|" + { gis'8[ g'8^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +3" }}] ~ g'4 ~ g'16[ fis'8.^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +11" }}] ~ fis'8.[ fis'16^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -11" }}] ~ } + \bar "|" + { fis'2 ~ fis'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -3" }}] ~ f'4 ~ } + \bar "|" + { f'4 e'4^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }} ~ e'2 ~ } + \bar "|" \break + { e'16[ d'8.^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ d'2. ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" \break + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'4 ~ d'16[ r8.] r2 } + \bar "|" \break + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7ac10d34/lilypond/part_III.ly b/resources/7ac10d34/lilypond/part_III.ly new file mode 100644 index 0000000..b8adb43 --- /dev/null +++ b/resources/7ac10d34/lilypond/part_III.ly @@ -0,0 +1,28 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r2. r8[ g'8^\markup { \pad-markup #0.2 "+29"}] ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" \break + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'1 ~ } + \bar "|" + { g'4 ~ g'16[ r8.] r2 } + \bar "|" \break + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7ac10d34/lilypond/part_IV.ly b/resources/7ac10d34/lilypond/part_IV.ly new file mode 100644 index 0000000..308f94f --- /dev/null +++ b/resources/7ac10d34/lilypond/part_IV.ly @@ -0,0 +1,28 @@ +{ + { c'4^\markup { \pad-markup #0.2 "+0"} ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'2 b2^\markup { \pad-markup #0.2 "+16"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +5" }} ~ } + \bar "|" + { b16[ c'8.^\markup { \pad-markup #0.2 "+27"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -3" }}] ~ c'4 ~ c'16[ a8.^\markup { \pad-markup #0.2 "+33"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +3" }}] ~ a16[ ais8.^\markup { \pad-markup #0.2 "+45"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }}] ~ } + \bar "|" + { ais2 ~ ais8[ b8^\markup { \pad-markup #0.2 "-11"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -13" }}] ~ b4 ~ } + \bar "|" \break + { b2 ~ b8[ ais8^\markup { \pad-markup #0.2 "-40"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -7" }}] ~ ais4 ~ } + \bar "|" + { ais2 b2^\markup { \pad-markup #0.2 "+16"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +5" }} ~ } + \bar "|" + { b4 c'2.^\markup { \pad-markup #0.2 "+27"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " -3" }} ~ } + \bar "|" + { c'4 ~ c'16[ r8.] r2 } + \bar "|" \break + { r1 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7e170ef8/lilypond/part_I.ly b/resources/7e170ef8/lilypond/part_I.ly new file mode 100644 index 0000000..a9c470a --- /dev/null +++ b/resources/7e170ef8/lilypond/part_I.ly @@ -0,0 +1,36 @@ +{ + { r2. r8[ e'8^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +5" }}] ~ } + \bar "|" + { e'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -3" }}] ~ f'4 ~ f'8[ e'8^\markup { \pad-markup #0.2 "-41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -13" }}] ~ e'4 ~ } + \bar "|" + { e'4 ~ e'16[ fis'8.^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +11" }}] ~ fis'16[ g'8.^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +3" }}] ~ g'4 ~ } + \bar "|" + { g'8.[ gis'16^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " -5" }}] ~ gis'2. ~ } + \bar "|" \break + { gis'2. ~ gis'8.[ fis'16^\markup { \pad-markup #0.2 "-49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +11" }}] ~ } + \bar "|" + { fis'2. ~ fis'16[ fis'8.^\markup { \pad-markup #0.2 "+49"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -11" }}] ~ } + \bar "|" + { fis'2 ~ fis'8.[ gis'16^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +1" }}] ~ gis'4 ~ } + \bar "|" + { gis'1 ~ } + \bar "|" \break + { gis'2 gis'4^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +1" }} ~ gis'4 ~ } + \bar "|" + { gis'1 ~ } + \bar "|" + { gis'1 ~ } + \bar "|" + { gis'1 ~ } + \bar "|" \break + { gis'1 ~ } + \bar "|" + { gis'2. ~ gis'16[ ais'8.^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +7" }}] ~ } + \bar "|" + { ais'4 ~ ais'8.[ c''16^\markup { \pad-markup #0.2 "+0"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +1" }}] ~ c''2 ~ } + \bar "|" + { c''16[ cis''8.^\markup { \pad-markup #0.2 "+39"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "III"\normal-size-super " +13" }}] ~ cis''2 ~ cis''16[ d''8.^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +1" }}] ~ } + \bar "|" \break + { d''4 ~ d''8.[ r16] r2 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7e170ef8/lilypond/part_II.ly b/resources/7e170ef8/lilypond/part_II.ly new file mode 100644 index 0000000..5d8c6fb --- /dev/null +++ b/resources/7e170ef8/lilypond/part_II.ly @@ -0,0 +1,36 @@ +{ + { c'4^\markup { \pad-markup #0.2 "+0"} ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'2. ~ c'8.[ d'16^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" \break + { d'1 ~ } + \bar "|" + { d'8.[ r16] r2. } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r1 } + \bar "|" + { r2. r16[ d'8.^\markup { \pad-markup #0.2 "+31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -7" }}] ~ } + \bar "|" + { d'1 ~ } + \bar "|" + { d'1 ~ } + \bar "|" \break + { d'4 ~ d'8.[ r16] r2 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7e170ef8/lilypond/part_III.ly b/resources/7e170ef8/lilypond/part_III.ly new file mode 100644 index 0000000..f1f972d --- /dev/null +++ b/resources/7e170ef8/lilypond/part_III.ly @@ -0,0 +1,36 @@ +{ + { r2. r8[ ais8^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +7" }}] ~ } + \bar "|" + { ais1 ~ } + \bar "|" + { ais4 ~ ais16[ g8.^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +3" }}] ~ g16[ gis8.^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "II"\normal-size-super " +13" }}] ~ gis4 ~ } + \bar "|" + { gis8.[ gis16^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +1" }}] ~ gis2. ~ } + \bar "|" \break + { gis2. ~ gis8.[ ais16^\markup { \pad-markup #0.2 "-31"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +7" }}] ~ } + \bar "|" + { ais1 ~ } + \bar "|" + { ais2 ~ ais8.[ gis16^\markup { \pad-markup #0.2 "+41"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +13" }}] ~ gis4 ~ } + \bar "|" + { gis2 ~ gis16[ gis8.^\markup { \pad-markup #0.2 "+14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -5" }}] ~ gis4 ~ } + \bar "|" \break + { gis1 ~ } + \bar "|" + { gis2. ~ gis8[ g8^\markup { \pad-markup #0.2 "+2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +3" }}] ~ } + \bar "|" + { g4 ~ g8[ ais8^\markup { \pad-markup #0.2 "+45"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -7" }}] ~ ais4 ~ ais8.[ d'16^\markup { \pad-markup #0.2 "-35"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " +11" }}] ~ } + \bar "|" + { d'2. cis'4^\markup { \pad-markup #0.2 "+12"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "I"\normal-size-super " -3" }} ~ } + \bar "|" \break + { cis'2 ~ cis'8[ e'8^\markup { \pad-markup #0.2 "-14"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " +5" }}] ~ e'4 ~ } + \bar "|" + { e'8.[ f'16^\markup { \pad-markup #0.2 "-2"}_\markup { \lower #3 \pad-markup #0.2 \concat{ "IV"\normal-size-super " -3" }}] ~ f'2. ~ } + \bar "|" + { f'1 ~ } + \bar "|" + { f'1 ~ } + \bar "|" \break + { f'4 ~ f'8.[ r16] r2 } +\bar "||" +} \ No newline at end of file diff --git a/resources/7e170ef8/lilypond/part_IV.ly b/resources/7e170ef8/lilypond/part_IV.ly new file mode 100644 index 0000000..efb5038 --- /dev/null +++ b/resources/7e170ef8/lilypond/part_IV.ly @@ -0,0 +1,36 @@ +{ + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" + { r1 } + \bar "|" \break + { r8[ c'8^\markup { \pad-markup #0.2 "+0"}] ~ c'2. ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" + { c'1 ~ } + \bar "|" \break + { c'4 ~ c'8.[ r16] r2 } +\bar "||" +} \ No newline at end of file diff --git a/resources/tmp/tmp_mus_model.json b/resources/tmp/tmp_mus_model.json index 15e2589..6e5b6f4 100644 --- a/resources/tmp/tmp_mus_model.json +++ b/resources/tmp/tmp_mus_model.json @@ -3,73 +3,83 @@ [ [ [ - [ [ [ 0, 0, 0, 0, 0, 0 ], [ "Rest" ], [ "Rest" ], [ "Rest" ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ "Rest" ], [ "Rest" ], [ 0, 0, 0, 0, 0, 0 ] ], 4.125 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ "Rest" ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, -1, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 2.25 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, -1 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 3 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 4.875 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 5.875 ] + [ [ [ "Rest" ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 9.375 ], + [ [ [ 1, 0, 0, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, 0, 0, 0, -1, 1 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.5 ], + [ [ [ 2, -1, 0, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.125 ], + [ [ [ 3, 0, 0, -1, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.5 ], + [ [ [ 2, 0, 0, 0, -2, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, 0, 1, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.25 ], + [ [ [ 0, 1, 0, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.5 ], + [ [ [ 0, 0, 0, 1, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0.125 ], + [ [ [ 1, 0, -1, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 8.5 ] ], [ - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 1, -1, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 1, -1, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ -1, 0, 1, 1, 0, 0 ] ], 1.25 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ -1, 1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ -1, 0, 1, 1, 0, 0 ] ], 2.375 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ -1, 0, 2, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ -1, 0, 1, 1, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ -1, 0, 2, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, 0, 0, -1, 0, 0 ] ], 1.125 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, 0, 0, -1, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, 0, 0, 0, 0, -1 ] ], 2.25 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ] ], 4.125 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ -1, 0, 0, 0, 1, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ] ], 0.75 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ] ], 0 ], - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ] ], 3.375 ] + [ [ [ "Rest" ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 1, 0, 0, -1, 0 ] ], 0.375 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ -1, 0, 0, 0, -1, 1 ] ], 0.125 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ -1, 0, 0, 1, -1, 0 ] ], 0.375 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ -1, 1, 0, 0, -1, 0 ] ], 0.375 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 1, 0, -1, 0 ] ], 0.25 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 6.625 ] ], [ - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ] ], 3.375 ] + [ [ [ "Rest" ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.5 ], + [ [ [ 3, -1, 0, -1, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.5 ], + [ [ [ 2, 0, 1, 0, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.25 ], + [ [ [ 4, 0, 0, -2, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.375 ], + [ [ [ 2, 1, 0, -1, -1, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.25 ], + [ [ [ 2, 0, 0, 0, -1, -1 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 0.5 ], + [ [ [ 1, 0, 0, -1, 0, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ 1, 0, 0, -1, -1, 0 ] ], 2 ] ], [ - [ [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ], 3 ], - [ [ [ -1, -1, 1, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ], 3.625 ], - [ [ [ 0, -2, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ], 3.375 ], - [ [ [ 0, -2, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ "Rest" ] ], 0 ], - [ [ [ "Rest" ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ "Rest" ] ], 1.375 ], - [ [ [ "Rest" ], [ 0, -1, 0, 0, 0, 0 ], [ "Rest" ], [ "Rest" ] ], 0 ], - [ [ [ "Rest" ], [ "Rest" ], [ "Rest" ], [ "Rest" ] ], 9.5 ] + [ [ [ 1, 0, 0, -1, 0, 0 ], [ "Rest" ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0 ], + [ [ [ 1, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 3.625 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 0 ], [ "Rest" ] ], 0 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 1 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 0, 0, 1, -1, 1 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 1, 0, 0, -1, 1 ], [ "Rest" ] ], 0.25 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 0, -1, 0, -1, 1 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 0, 0, 0, -1, 1 ], [ "Rest" ] ], 0.375 ], + [ [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 1, 0, 0, -1, 1 ], [ "Rest" ] ], 0 ], + [ [ [ -1, 0, 0, 1, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 1, 0, 0, -1, 1 ], [ "Rest" ] ], 4.625 ], + [ [ [ "Rest" ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 1, 0, 0, -1, 1 ], [ "Rest" ] ], 0 ], + [ [ [ "Rest" ], [ "Rest" ], [ 0, 1, 0, 0, -1, 1 ], [ "Rest" ] ], 0.5 ], + [ [ [ "Rest" ], [ "Rest" ], [ "Rest" ], [ "Rest" ] ], 4.375 ] ] ] ], "last_changes": [ - [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ] ], - [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ] ], - [ [ 0, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ], - [ [ -1, -1, 1, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ], - [ [ 0, -2, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 1, -1, 0, 0, 0, 0 ], [ 2, -1, 0, -1, 0, 0 ] ] + [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 1, 0, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 0 ] ], + [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 0, -1, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 0 ] ], + [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 1, 0, 0, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 0 ] ], + [ [ 1, -1, 0, 0, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 1, 0, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 0 ] ], + [ [ -1, 0, 0, 1, -1, 1 ], [ 0, 0, 0, 0, -1, 1 ], [ 0, 1, 0, 0, -1, 1 ], [ 1, 0, 0, -1, -1, 0 ] ] ], "cur_uid": "tmp", -"ref_uid": "nil", -"order_seed": 694071, -"dur_seed": 263562, -"motifs_seed": 209967, -"entrances_probs_vals": [ 0.75, 0, 10, 0, 5, 0, 0.5, 0.5, 0.5, 1, 0.5 ], -"passages_probs_vals": [ 0.75, 0, 10, 0, 5, 0, 0.5, 0.5, 0.5, 1, 0.5 ], -"exits_probs_vals": [ 0.75, 0, 10, 0, 5, 0, 0.5, 0.5, 0.5, 1, 0.5 ], -"ranges": [ [ -3600, -757.89473684211 ], [ -1817, 746.74922600619 ], [ 22.291021671827, 2400 ], [ -70.588235294118, 2400 ] ], -"step_probs_vals": [ 0, 1200, 0, 0, 0.082304526748971, 0.98863636363636, 0.16049382716049, 0, 1, 0 ], +"ref_uid": "314s49e1", +"order_seed": 583500, +"dur_seed": 415027, +"motifs_seed": 891432, +"entrances_probs_vals": [ 0.75, 0, 10, 0, 0.5, 0.26424870466321, 0.75675675675676, 0.5, 0.5, 0.58549222797927, 0.72635135135135, 1, 0.5 ], +"passages_probs_vals": [ 0.75, 0, 10, 0, 0.5, 0.20725388601036, 0.68581081081081, 0.24093264248705, 0.34121621621622, 0.5, 0.5, 0.67616580310881, 0.81081081081081, 1, 0.5 ], +"exits_probs_vals": [ 0.75, 0, 10, 0, 0.5, 0.20725388601036, 0.68581081081081, 0.24093264248705, 0.34121621621622, 0.5, 0.5, 0.67616580310881, 0.81081081081081, 1, 0.5 ], +"ranges": [ [ -384, 2400 ], [ -507, 2400 ], [ -282, 2237 ], [ -1200, 2053 ] ], +"step_probs_vals": [ 0, 1200, 0, 0.5, 0.5, 0.5, 1, 0.5 ], "passages_weights": [ 0.75, 0.75, 0.75, 0.75, 0.75 ], -"hd_exp": 0.75, +"hd_exp": 2, "hd_invert": 0, "order": [ - [ [ 0, 3 ], [ 2, 1, 2, 1, 1, 2, 2 ], [ ] ], - [ [ 0, 2 ], [ 1, 3, 1, 1, 3, 1, 3, 3, 1, 1, 3 ], [ ] ], - [ [ 0, 3, 1 ], [ 2 ], [ ] ], - [ [ 1, 2 ], [ 3, 0, 0 ], [ ] ] + [ [ 2 ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ], [ 3, 1 ] ], + [ [ 2 ], [ 1, 3, 3, 3, 3, 3, 3 ], [ 0 ] ], + [ [ 3, 2 ], [ 0, 0, 0, 0, 0, 0 ], [ 1 ] ], + [ [ 1 ], [ 0, 2, 2, 2, 2, 2, 2, 0 ], [ 3 ] ] ], -"sus_weights": [ 0.75, 0.75, 0.75 ], -"order_size": [ 1, 10 ], +"sus_weights": [ 0.75, 0.69, 0.75 ], +"order_size": [ 2, 6 ], "passages_size": [ 0, 10 ], "motif_edited": "false", "order_edited": "false" diff --git a/supercollider/seeds_and_ledgers_main.scd b/supercollider/seeds_and_ledgers_main.scd index 34afaf8..b6f5de1 100644 --- a/supercollider/seeds_and_ledgers_main.scd +++ b/supercollider/seeds_and_ledgers_main.scd @@ -306,7 +306,7 @@ genSubMotif = {arg order, orderIndex, lastState, repeatLast = false, startFromLa //------primary routines genMotif = { - var repeats, fSeq; + var repeats, fSeq, fDur, durAdd; repeats = 1; fSeq = []; @@ -328,6 +328,13 @@ genMotif = { fSeq = fSeq.add(motif); }); + + //round last duration to measure + fDur = fSeq.flatten.flatten.slice(nil, 1).sum; + durAdd = fDur.round(4) - fDur; + if(durAdd < 0, {durAdd = 4 - durAdd}); + fSeq[0][orders.size - 1][fSeq[0][orders.size - 1].size - 1][1] = fSeq[0][orders.size - 1][fSeq[0][orders.size - 1].size - 1][1] + durAdd; + fSeq }; @@ -805,9 +812,95 @@ OSCdef(\transport, {arg msg, time, addr, port; }); }, \transport); -OSCdef(\transcribe, {arg msg, time, addr, port; - ~transcribe.value(seq, dir, addr); -}, \transcribe); + +OSCdef(\transcribe_motif, {arg msg, time, addr, port; + var tSeq, refChord, refUID; + + msg.postln; + + tSeq = [loadModelJSON.value(msg[2].asString.parseJSON)["music_data"].postln]; + refUID = msg[1].asString; + + if((refUID.postln != nil) && (refUID != "tmp"), { + var file; + file = File((dir +/+ ".." +/+ "resources" +/+ refUID +/+ refUID ++ "_mus_model" ++ ".json").standardizePath, "r"); + refChord = msgInterpret.value(file.readAllString.parseJSON["last_changes"]).last; + file.close; + }); + + ~transcribe.value(tSeq.postln, refChord.postln, (dir +/+ ".." +/+ "lilypond" +/+ "includes").standardizePath, addr, "/transcribe_motif"); +}, \transcribe_motif); + + +OSCdef(\transcribe_all, {arg msg, time, addr, port; + var cSize, patterns, cuedSeek, indexStart, indexEnd, tmpLedger; + if(true, { + cuedSeek = (seq != nil); + indexStart = msg[1].asInteger; + indexEnd = ledger.size - if(cuedSeek, {2}, {1}); + + //tmp for testing transcription + indexEnd = (indexStart+5); + + //ledger.postln; + if(((indexStart == (ledger.size - 1)) && cuedSeek).not, { + var lilyPartLedgerFiles; + + lilyPartLedgerFiles = 4.collect({arg p; + File((dir +/+ ".." +/+ "lilypond" +/+ "includes" +/+ "part_" ++ ["IV", "III", "II", "I"][p] ++ ".ly").standardizePath, "w"); + }); + + ledger[indexStart..indexEnd].do({arg uid, index; + var path, file, fileString, tSeq, refUID, refChord; + path = (dir +/+ ".." +/+ "resources" +/+ uid +/+ uid ++ "_mus_model" ++ ".json").standardizePath; + file = File(path, "r"); + fileString = file.readAllString; + tSeq = msgInterpret.value(fileString.parseJSON["music_data"]); + refUID = msgInterpret.value(fileString.parseJSON["ref_uid"]); + file.close; + + uid.postln; + (refUID == "nil").postln; + + refChord = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; + + if(refUID != "nil", { + path = (dir +/+ ".." +/+ "resources" +/+ refUID +/+ refUID ++ "_mus_model" ++ ".json").standardizePath; + file = File(path, "r"); + refChord = msgInterpret.value(file.readAllString.parseJSON["last_changes"]).last; + file.close; + }); + + if(index != indexEnd, { + ~transcribe.value(tSeq, refChord, (dir +/+ ".." +/+ "resources" +/+ uid +/+ "lilypond").standardizePath); + }, { + ~transcribe.value(tSeq, refChord, (dir +/+ ".." +/+ "resources" +/+ uid +/+ "lilypond").standardizePath, addr, "/transcribe_all"); + }); + + lilyPartLedgerFiles.do({arg f, p; + f.write("\\include \".." +/+ ".." +/+ "resources" +/+ uid +/+ "lilypond" +/+ "part_" ++ ["IV", "III", "II", "I"][p] ++ ".ly\"\n"); + }); + + }); + + lilyPartLedgerFiles.do({arg f; + f.close + }); + }); + /* + if(cuedSeek, { + var path, file; + path = (dir +/+ ".." +/+ "resources/tmp/tmp_mus_model" ++ ".json").standardizePath; + file = File(path, "r"); + pSeq = pSeq.add([msgInterpret.value(file.readAllString.parseJSON["music_data"]), path, ledger.size - 1, "tmp"]); + file.close; + }); + */ + }, { + + }); + +}, \transcribe_all); ) diff --git a/supercollider/seeds_and_ledgers_transcriber.scd b/supercollider/seeds_and_ledgers_transcriber.scd index c5e8f0d..578f408 100644 --- a/supercollider/seeds_and_ledgers_transcriber.scd +++ b/supercollider/seeds_and_ledgers_transcriber.scd @@ -3,7 +3,7 @@ var formatMusicData, spellingDict, lyNoteNameStr, lyOctStr, lyFinalizeMusic, lyM lyRelMark, lyRelMarkNote, lyHBracket, lyStaffDef, lyTie, lyNoteName, lyCentDev, lyFreqRatio, lyDur, lyNote, lyBeamOpen, lyBeamClosed, consolidateNotes, consolidateRests, -primes, hsArrayToFreq, hsArraysToFreqRatio; +primes, hsArrayDimDiff, hsArrayToFreq, hsArraysToFreqRatio; primes = [[2, 1], [3, 2], [5, 4], [7, 4], [11, 8], [13, 8]]; @@ -32,18 +32,31 @@ hsArraysToFreqRatio = { [num / gcd, den / gcd].asInteger }; + +hsArrayDimDiff = { + arg array1, array2; + var fArray; + fArray = array2.drop(1) - array1.drop(1); + if(fArray.sum == 0, {1}, {(primes[fArray.abs.indexOf(1) + 1][0] * fArray.sum)}) +}; + // formats the data for the transcriber -formatMusicData = {arg seq; +formatMusicData = {arg seq, refChord; var maxSize, voices, durs, baseData, musicData; maxSize = 0; # voices, durs = seq.flatten2(seq.maxDepth - 5).flop; baseData = voices.flop.collect({arg voice, v; - var clumps, hdScores, freqs, fDurs, refs; + var isFirstNote, clumps, hdScores, freqs, fDurs, refs; + isFirstNote = false; //this gets the reference instrument and is another way to check things refs = voice.collect({arg item, i; - var ref = [-1, [1, 1]]; + var ref, isSus, isChanged, isFund; + + ref = [-1, [100, 100], 0]; + + /* if((i > 0), { if((item != voice[i - 1]) && (item != ["Rest"]), { var ins; @@ -59,6 +72,29 @@ formatMusicData = {arg seq; }) }); }); + */ + + item.postln; + refChord[v].postln; + + if((item != ["Rest"]) && isFirstNote.not, {isFirstNote = true}); + isSus = isFirstNote && (item == refChord[v]); + isChanged = (i > 0) && (item != voice[i - 1]) && (item != ["Rest"]); + isFund = (item == [0, 0, 0, 0, 0, 0]); + + if((item != ["Rest"]) && isSus.not && isChanged, { + var ins, fr, dd; + ins = voices[i].postln.minIndex({arg hsArray, h; + var res = 100000; + if((h != v) && (hsArray != ["Rest"]), {res = (hsArray.drop(1) - item.drop(1)).abs.sum}); + res; + }); + fr = hsArraysToFreqRatio.value(voices[i][ins], item); + dd = hsArrayDimDiff.value(voices[i][ins], item); + ref = [ins, fr, dd] + }); + + if(isFund, {ref = [-1, [1, 1], 0]}); ref }); @@ -86,7 +122,7 @@ formatMusicData = {arg seq; }); //make them all the same length - maxSize = maxSize.trunc(64) + 64; + maxSize = maxSize.trunc(16) + 16; musicData = musicData.collect({arg partData, p; partData.extend(maxSize, partData.last)}); musicData }; @@ -131,8 +167,9 @@ lyFinalizeMusic = {arg lyStr, part, name, nameShort, nameMidi, clef; lyMeasureDef = {arg insName, part, beat; var barline = "|", break = ""; barline = "\\bar \"|\""; - if((beat % 16) == 0, {break = "\\break \\noPageBreak"}); - if((beat % (16 * 3)) == 0, {break = "\\pageBreak"}); + if((beat % 16) == 0, {break = "\\break"}); + //if((beat % 16) == 0, {break = "\\break \\noPageBreak"}); + //if((beat % (16 * 3)) == 0, {break = "\\pageBreak"}); //if(beat != 0, {"}\n>>\n" + barline + break}, {""}) + "\n<<\n" /*++ ossia*/ + "{"; if(beat != 0, {"}\n" + barline + break}, {""}) + "\n" /*++ ossia*/ + "{" }; @@ -170,12 +207,20 @@ lyCentDev = {arg freq, padding = true; if(centDev >= 0, {"+"}, {""}) ++ centDev.asString ++ "\"}" }; -lyFreqRatio = {arg freqRatioMult, ref, padding = true, lower = 3, attachedToNote = true; - var res, ratio; +lyFreqRatio = {arg freqRatioMult, dimDiff, ref, padding = true, lower = 3, attachedToNote = true; + var res, num, den, ratio; res = "\\markup {" + if(attachedToNote, {""}, {"\\normalsize"}) + "\\lower #" ++ lower + if(padding, {"\\pad-markup #0.2 "}, {" "}); - ratio = "\"" ++ freqRatioMult[0].asInteger ++ "/" ++ freqRatioMult[1].asInteger ++ "\" }"; - res = if(ref != nil, + //ratio = "\"" ++ freqRatioMult[0].asInteger ++ "/" ++ freqRatioMult[1].asInteger ++ "\" }"; + /* + num = freqRatioMult[0].asInteger; + den = freqRatioMult[1].asInteger; + ratio = if(num > den, {"+" ++ freqRatioMult[0]}, {"-" ++ freqRatioMult[1]}); + ratio = "\"" ++ ratio ++ "\" }"; + */ + ratio = if(dimDiff > 0, {"+" ++ dimDiff.abs.asString}, {"-" ++ dimDiff.abs.asString}); + ratio = "\" " ++ ratio ++ "\" }"; + res = if(ref != -1, { res ++ "\\concat{ \"" ++ ["IV", "III", "II", "I"][ref] ++ "\"\\normal-size-super " ++ ratio ++ "}" }, { @@ -185,13 +230,13 @@ lyFreqRatio = {arg freqRatioMult, ref, padding = true, lower = 3, attachedToNote if(attachedToNote, {"_" ++ res}, {res}) }; -lyNote = {arg freq, noteLength, freqRatioMult, ref, spellingPref = \sharps, addMarkup = true, frHide = false, padding = true; +lyNote = {arg freq, noteLength, freqRatioMult, dimDiff, ref, spellingPref = \sharps, frHide = false, centHide = false, padding = true; lyNoteName.value(freq, spellingPref) ++ lyDur.value(noteLength) ++ - if(addMarkup, { + if(frHide.not || centHide.not, { "" }, {""}) }; @@ -218,19 +263,19 @@ consolidateNotes = {arg lyStr, part; res.replace("", ""); }; -~transcribe = {arg rawMusicData, dir, addr; +~transcribe = {arg rawMusicData, refChord, dir, addr = nil, buttonID = nil; var basePath, scoreFile, musicData, insData, insNames, insNamesShort, insMidi, insClef; //basePath = thisProcess.nowExecutingPath.dirname +/+ ".." +/+ "lilypond"; - basePath = dir +/+ ".." +/+ "lilypond"; + basePath = dir; basePath.mkdir; - (basePath +/+ "includes").mkdir; + //(basePath +/+ "includes").mkdir; //scoreFile = File(basePath +/+ "tkam_score.ly".standardizePath,"w"); //scoreFile.write(File.readAllString(basePath +/+ ".." +/+ "template" +/+ "tkam_score_template.ly").replace("seed: xxx", "seed: " ++ seed)); //scoreFile.close; - musicData = formatMusicData.value(rawMusicData); + musicData = formatMusicData.value(rawMusicData.postln, refChord.postln); insData = [ ["IV", "IV", "clarinet", "bass"], @@ -249,7 +294,7 @@ consolidateNotes = {arg lyStr, part; tmpSectionData, pcRoot, partLookup, quality; //create file - lyFile = File((basePath +/+ "includes" +/+ "part_" ++ ["IV", "III", "II", "I"][p] ++ ".ly").standardizePath,"w"); + lyFile = File((basePath +/+ /*"includes" +/+ */ "part_" ++ ["IV", "III", "II", "I"][p] ++ ".ly").standardizePath,"w"); //start lypond directives lyStr = ""; @@ -262,7 +307,7 @@ consolidateNotes = {arg lyStr, part; gSum = 0; beat.separate({arg a, b; ((a[0] != -1) || (b[0] != -1)) && (a != b)}).do({arg group, g; - var noteLength, curMusAtom, freq, freqRatioMult, ref, isSame, isRest, isFirst, isLast, + var noteLength, curMusAtom, freq, freqRatioMult, dimDiff, ref, isSame, isRest, isFirst, isLast, isTied, isMeasureBound, isBeamStart, isBeamEnd; noteLength = group.size; @@ -272,6 +317,7 @@ consolidateNotes = {arg lyStr, part; //freqRatioMult = curMusAtom[1]; ref = curMusAtom[1][0]; freqRatioMult = curMusAtom[1][1]; + dimDiff = curMusAtom[1][2]; # isSame, isRest, isFirst, isLast = [curMusAtom == lastMusAtom, freq == -1, g == 0, gSum == 4]; # isTied, isMeasureBound = [isSame && isRest.not, isFirst && ((i % 4) == 0)]; # isBeamStart, isBeamEnd = [(noteLength != 4) && isFirst, (noteLength != 4) && isLast]; @@ -298,7 +344,7 @@ consolidateNotes = {arg lyStr, part; */ //lyStr = lyStr + lyNote.value(freq, noteLength, freqRatioMult, ref, spellingPref, isSame.not && isRest.not); - lyStr = lyStr + lyNote.value(freq, noteLength, freqRatioMult, ref, \sharps, isSame.not && isRest.not); + lyStr = lyStr + lyNote.value(freq, noteLength, freqRatioMult, dimDiff, ref, \sharps, isSame || isRest || (ref < 0), isSame || isRest); //beam group if(isBeamStart, {lyStr = lyStr ++ lyBeamOpen.value}); @@ -310,7 +356,7 @@ consolidateNotes = {arg lyStr, part; //wrap music and add staff definitions //lyStr = lyFinalizeMusic.value(lyStr, p, insNames[p], insNamesShort[p], insMidi[p], insClef[p]); - lyStr = "{" ++ lyStr ++ "}\n}"; + lyStr = "{" ++ lyStr ++ "}\n\\bar \"||\"\n}"; //consolidate notes and rests lyStr = consolidateNotes.value(lyStr, p); @@ -319,7 +365,7 @@ consolidateNotes = {arg lyStr, part; lyFile.write(lyStr); lyFile.close; }); - addr.sendMsg("/transcribe", 0); + if(addr != nil, {addr.sendMsg(buttonID, 0)}); };