import WikiScore
import Stave
import Abc
----------------------------------------------------------------------------------------------
--------------------- Sonata in A major B4 ----------------------------------------------------
----------------------------------------------------------------------------------------------
-- Prj attributes
namespace = A "namespace" "tartini"
musicby = "Giuseppe Tartini (1692-1770)"
title = A "title" "Sonata for Violin and Bass in A major (B4)"
facsimile = A "facsimile" "https://digital.staatsbibliothek-berlin.de/werkansicht?PPN=PPN104710864X&PHYSID=PHYS_0090&DMDID=DMDLOG_0029"
introd = A "Introduction" "One of the manuscript copies of this sonata by [[https://pt.wikipedia.org/wiki/Giuseppe_Tartini | Giuseppe Tartini]] (1692-1770) bears the inscription\n\n * Sonata \224 Violino, e Basso / Del / Sig.r Giuseppe Tartini / Composta dal Medes.mo / Sopra lo stile che suona / il Prette dalla Chitarra / Portoghese\n\nsee this [[https://opac.rism.info/metaopac/search?View=rism&id=138631&View=rism | record ]] at the Berkeley Music Library.\n\nAccording to [[https://sidm.it/ojs/index.php/fmi/article/view/1044|Ciacchi & Dellaborra, 2020]], the //prette portoghese// is Abott [[https://en.wikipedia.org/wiki/Abade_Ant%C3%B3nio_da_Costa | Ant\243nio da Costa]] (1714-1780?) with whom Tartini corresponded with. For more information, please see the [[abbate:index|duet for Violins]] and the three [[costa:index|trios for 3 Violins]] by the same composer.\n\nTo obtain the current version of this sonata please press button \8220**Build!**\8221 at the bottom-right corner of the matrix below.\n\n"
-- Prj Parts
pt1 = Prt 1 "treble" "Violino" "Vl." (Mid "1" "40") []
pt2 = Prt 2 "bass" "Basso" "B." (Mid "2" "43") []
-- Prj Stave
base = [ the 1, the 2 ]
-- Prj Sections
s1= Sct "Allegro" 1
All
(MLK "C" "1/4" "A") [ A "fol." "86", hw ]
s2= Sct "Andante" 2
All
(MLK "3/4" "1/4" "C") [ A "fol." "88", hw ]
s3= Sct "Allegro" 3
All
(MLK "3/4" "1/4" "A") [ A "fol." "90", hw ]
s4= Sct "Menuet" 4
All
(MLK "3/4" "1/4" "A") [ A "fol." "91", hw ]
-- where
status = A "status" "under edition" -- default
hw = A "status" "half-way"
js = A "status" "just started"
vo = A "status" "void"
-- Abbreviations
-- Main
prj = initWSPproject
"tartini"
musicby
[ title, facsimile, namespace, introd ]
[ pt1 , pt2 ]
[s1, s2, s3, s4]
base
main = prj2jsonFile prj
-- checking invariants
ok = (matrixOk prj) && (riSP prj) && (riSS prj) && (matts prj)
-- Helper functions
-- done