This shows you the differences between two versions of the page.
perez:spec [2015/06/11 12:38] |
perez:spec [2015/06/11 12:38] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Sinfonia in D# a 8 voci ====== | ||
+ | |||
+ | ===== Specification ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | import WikiScore | ||
+ | import Stave | ||
+ | import Abc | ||
+ | |||
+ | ---------------------------------------------------------------------------------------------- | ||
+ | --------------------- Sinfonia in D# a 8 voci ------------------------------------------------- | ||
+ | ---------------------------------------------------------------------------------------------- | ||
+ | -- Prj attributes | ||
+ | |||
+ | namespace = A " | ||
+ | musicby | ||
+ | title = A " | ||
+ | facsimile = A " | ||
+ | introd | ||
+ | |||
+ | -- Prj Parts | ||
+ | |||
+ | pt1 = Prt 1 " | ||
+ | pt2 = Prt 2 " | ||
+ | pt3 = Prt 3 " | ||
+ | pt4 = Prt 4 " | ||
+ | pt5 = Prt 5 " | ||
+ | pt6 = Prt 6 " | ||
+ | pt7 = Prt 7 " | ||
+ | pt8 = Prt 8 " | ||
+ | |||
+ | -- Prj Stave | ||
+ | |||
+ | base = [ Sq [ pa [1,2], pa [3,4], br [5,6], the 7, the 8 ] ] | ||
+ | |||
+ | -- Prj Sections | ||
+ | |||
+ | s1= Sct " | ||
+ | All | ||
+ | (MLK " | ||
+ | s2= Sct "Alla Francese" | ||
+ | (Sel [3..8]) | ||
+ | (MLK " | ||
+ | s3= Sct " | ||
+ | All | ||
+ | (MLK " | ||
+ | |||
+ | -- where | ||
+ | |||
+ | status | ||
+ | hw = A " | ||
+ | js = A " | ||
+ | vo = A " | ||
+ | |||
+ | -- Abbreviations | ||
+ | |||
+ | -- Main | ||
+ | |||
+ | prj = initWSPproject | ||
+ | " | ||
+ | | ||
+ | [ title, facsimile, namespace, introd ] | ||
+ | [ pt1 , pt2 , pt3 , pt4 , pt5 , pt6 , pt7 , pt8 ] | ||
+ | [s1, s2, s3] | ||
+ | base | ||
+ | |||
+ | main = prj2jsonFile prj | ||
+ | |||
+ | -- checking invariants | ||
+ | |||
+ | ok = (matrixOk prj) && (riSP prj) && (riSS prj) && (matts prj) | ||
+ | |||
+ | -- Helper functions | ||
+ | |||
+ | -- done | ||
+ | |||
+ | |||
+ | </ | ||
+ | < | ||
+ | [[perez: | ||