X:1
T:Sonata in D Major Mov. 1
C:Franz Joseph Haydn (1732-1809)
%%score { ( 1 3 ) | ( 2 4 ) }
L:1/8
Q:1/4=140
M:4/4
I:linebreak $
K:D
V:1 treble nm="Piano" snm="Pno."
V:3 treble 
V:2 bass 
V:4 bass 
V:1
"^\n""^Allegro con brio"!f!{/c'} .d'.d.d.d (Ped)(Ped) |{/c'} .d'.d.d.d ((Ped))((Ped)) | %2
 .g(gf)(f b)(ba).a | .g.e.f.d (c/d/e/c/ A) z |{/c'} .d'.d.d.d{/f} (ed){/f}(ed) | %5
{/c'} .d'.d.d.d{/f} ((ed)){/f}((ed)) | .g(gf)(f b)(ba).a | z .[Bg].[Ge].[Ec] [Fd]2 z2 | %8
 D/A,/F,/A,/ D/!<(!A,/E/A,/ F/A,/G/A,/ A/A,/G/A,/!<)! | F/D/A,/D/ F/D/G/D/ A/D/B/D/ A/D/c/D/ | %10
 d/A/F/A/ d/A/e/A/ f/A/g/A/ a/A/g/A/ | f/d/A/d/ f/d/g/d/ a/d/b/d/!>(! a/d/g/d/!>)! | %12
!p! f/d/c/d/!<(! b/d/c/d/ a/d/c/d/ g/d/c/d/!<)! | f/d/c/d/ b/d/c/d/ a/d/c/d/ g/d/c/d/ | %14
!f! f/d/e/f/ g/a/b/c'/ d'/c'/d'/c'/ d'/a/f/d/ | a2 [CA]>[CA] [CA]2 z2 | %16
!p!{b} (a/^g/a/b/ .a) z{g} (f/^e/f/g/ .f) z |{e'} (d'/c'/d'/e'/ .d') z{d'} (c'/b/c'/d'/ .c') z | %18
{c'} (b/^a/b/c'/ .b) z .[Bd].[bd']([bd'][ac']) |{c'} (b/^a/b/c'/ .b) z .[Bd].[bd']([bd'][ac']) | %20
{c'} (b/^a/b/c'/ .b) z{b} (=a/^g/a/b/ .a) z |!f! .e'.e.e.e e/f/e/d/ c/B/A/^G/ | %22
 A/c/B/d/ c/e/d/f/ ef/^g/ a/b/c'/d'/ | .e'.e.e.e e/f/e/d/ c/B/A/^G/ | %24
 A/c/B/d/ c/e/d/f/ ef/^g/ a/b/c'/d'/ | e'/f/^e/f/ e/f/e/f/ d'/d/c/d/ c/d/c/d/ | %26
!>(! d'/b/^a/b/ a/b/a/b/ c'/=a/^g/a/ g/a/g/a/!>)! | %27
!mf! d'/b/^a/b/ c'/=a/^g/a/ d'/b/^a/b/ c'/=a/g/a/ | %28
!p! d'/b/^a/b/ c'/=a/^g/a/ d'/b/^a/b/ c'/=a/g/a/ |!f! z/ =f'/d'/f'/ _b/d'/=f/b/ d z z/ d/f/b/ | %30
 d'/=f/_b/d'/ =f'/f/b/d'/ f' z z2 |!ff! z/ =c'/a/c'/ f/a/^d/f/ =c/d/A/c/ F/A/^D/F/ | %32
!<(! z .E.A.c .e.a.c'.e' | z4!<)!!f! Tb4{ab} | a z!p! .[fa].[e^g] P[df] z .[df].[ce] | %35
 P[Bd] z!f! .[Ec].[Ec] .[FB] z .[D^G].[DG] | .[CA] z!p! (a/b/^g/a/ f) z (f/g/e/f/ | %37
 d) z!f! .[Ec].[Ec] .[FB].[FB].[D^G].[DG] | A/E/c/E/ A/E/^G/E/ A/E/c/E/ A/E/G/E/ | %39
 A z ([Ac]>[ce]) [Ac] z z2 :: z2 z .[ca] (([d^g][ca]))([dg][ca]) | %41
 c/e/d/f/ e/g/f/a/ .g.e'.c'([eg] | [df]2) z .[DB] ([E^A][DB])([EA][DB]) | %43
 ^D/F/E/G/ F/A/G/B/ .A.f.^dA | ^G/B/A/c/ B/d/c/e/ db/a/ ^g/f/e/d/ | c/e/d/f/ e/g/f/a/!>(! g4!>)! | %46
!p! f4 e4 | d4 c2 =c2 |!<(! B4 A4!<)! | G4 F4 | C/B,/C/^A,/ D/C/D/B,/ E/D/E/C/ D/C/D/B,/ | %51
 ^A/^G/A/F/ B/A/B/F/ c/B/c/F/ d/c/d/F/ |!f! z/ g/e/g/ c/e/^A/c/ z/ b/f/b/ d/f/B/d/ | %53
 z/ g/e/g/ c/e/^A/c/ z/ b/f/b/ d/f/B/d/ | z/ =c'/g/c'/ e/g/=c/e/ G/c/E/G/ =C/E/G,/C/ | %55
 z/ B,/D/=F/ ^G/D/F/G/ B/F/G/B/ d/B/G/^E/ | z/ B,/D/F/ B/D/F/B/ d/B/d/f/ b z | %57
 Tc4-!>(! c3 B/c/!>)! |!p! .^d.d.d.d Pedeg |!<(! .c.c.c.c c/d/e/f/ g/a/b/c'/!<)! | %60
!f! .d'.d.d.d (Ped)(Ped) |{/c'} d'.d.d.d (Ped)(Ped) | .g(gf)(f b)(ba).a | .g.e.f.d (c/d/e/c/ A) z | %64
{/c'} .d'.d.d.d{/f} (((ed))){/f}(((ed))) |{/c'} .d'.d.d.d{/f} ((ed)){/f}((ed)) | %66
!mf!{/a} (gf).g.e!>(!{/g} (fe).f.d!>)! |!p!{/f} (e^d).e.c!<(! .=d.c.d.f!<)! | %68
!mf!!mf!{/a} ((gf)).g.e!>(!!>(!{/g} ((fe)).f.d!>)!!>)! | %69
!p!{/f} ((e^d))!<(!{/f}(ed){/f} (ed){/f}(ed)!<)! | e/g/f/a/ g/b/a/=c'/ b/a/g/f/ e/d/c/B/ | %71
 A/a/^g/a/ g/a/g/a/ A/=g/f/g/ f/g/f/g/ |!>(! A/f/^e/f/ e/f/e/f/ A/=e/^d/e/ d/e/d/e/!>)! | %73
!p! d/A/F/A/!<(! d/A/e/A/ f/A/g/A/ a/A/g/A/!<)! | f/d/A/d/ f/d/g/d/ a/d/b/d/ a/d/g/d/ | %75
 f/d/c/d/ b/d/c/d/ a/d/c/d/ g/d/c/d/ | f/d/c/d/ b/d/d'/d/ a/d/d'/d/ g/d/d'/d/ | %77
 f/d/d'/d/ f/d/d'/d/ ^g/d/d'/d/ g/d/d'/d/ |!f! [ac']2 [CA]>[CA] [CA]2 z2 | %79
!p!{/b} (a/^g/a/b/ .a) z{/d} (c/B/c/d/ .c) z |{/a} (g/f/g/a/ .g) z{/g} (f/e/f/g/ .f) z | %81
!<(!{/f} (e/^d/e/f/ .e) z .[EG].[eg]([eg][df])!<)! |{/f} (e/^d/e/f/ .e) z .[EG].[eg]([eg][df]) | %83
{/f} (e/^d/e/f/ .e) z{/e} (=d/c/d/e/ .d) z | .a.A.A.A A/B/A/G/ F/E/D/C/ | %85
 D/F/E/G/ F/A/G/B/ AB/c/ d/e/f/g/ | .a.A.A.A A/B/A/G/ F/E/D/C/ | D/F/E/G/ F/A/G/B/ AB/c/ d/e/f/g/ | %88
 a/B/^A/B/ A/B/A/B/ g/G/F/G/ F/G/F/G/ |!>(! g/e/^d/e/ d/e/d/e/ f/=d/c/d/ c/d/c/d/!>)! | %90
!mf! g/e/^d/e/ f/=d/c/d/ g/e/^d/e/ f/=d/c/d/ | g/e/^d/e/ =f/=d/c/d/ g/e/^d/e/ f/=d/c/d/ | %92
 z/ d'/^a/d'/ =f/a/d/f/ _B z z/ d/f/_b/ | d'/=f/^a/d'/ =f'/f/a/d'/ f' z z2 | %94
 z/ =f/d/f/ B/d/^G/B/ =F/G/D/F/ B,/D/^G,/B,/ | z .A,.D.F .A.d.f.a | z4 Te4 | %97
 d z!p! .[Bd].[Ac] P[GB] z .[GB].[FA] | P[EG] z .[A,F].[A,F] .[B,E] z .[G,C].[G,C] | %99
 .[F,D] z!p! (d'/e'/c'/d'/ .b) z (b/c'/a/b/ | .g) z!f! .[Af].[Af] .[Be].[Be].[Gc].[Gc] | %101
 d/A/f/A/ d/A/c/A/ d/A/f/A/ d/A/c/A/ | d z ([df]>[fa]) .[df] z z2 :| %103
V:2
 [D,F,A,D]2 z[K:treble] .[FA] ([GB][FA])([GB][FA]) | [DFA]2 z .[FA] ([GB][FA])[GB][FA] | %2
 .B(BA)(A G)(GF)F | .E.C.D.F A2 z2 | D/A/F/A/ F/A/F/A/ G/A/F/A/ G/A/F/A/ | %5
 D/A/F/A/ F/A/F/A/ G/A/F/A/ G/A/F/A/ | .B(BA)(A G)(GF)F | G2[K:bass] z .A, D,2 z2 | %8
 !tenuto![D,,D,]2 .D,.C, .D,.E,.F,.E, | !tenuto![D,,D,]2 .D,.E, .F,.G,.F,.E, | %10
 !tenuto![D,,D,]2[K:treble] .D.C .D.E.F.E | !tenuto![D,D]2[K:treble] .D.E .F.G.F.E | %12
 .D.F.G.B .F.A.E.G | .D.F.G.B .F.A.E.G | F/D/E/F/ G/A/B/c/ d/c/d/c/ d/A/F/D/ | %15
 A2[K:bass] [A,,A,]>[A,,A,] [A,,A,]2 z2 | .[CE].[CE].[CE].[CE] .[DF].[DF].[DF].[DF] | %17
 .[E^G].[EG].[EG].[EG] .[FA].[FA].[FA].[FA] | .[DF].[DF].[DF].[DF] .[DF]2 z2 | %19
 .[D,F,].[DF].[DF].[CE] .[DF]2 z2 | .[D,F,].[DF].[DF].[DF] .[^DF].[DF].[DF].[DF] | %21
 E,/^G,/F,/A,/ G,/B,/A,/C/ z2 D2 | C2 z2 z4 | E,/^G,/F,/A,/ G,/B,/A,/C/ z2 D2 | C2 z2 z4 | %25
 D,/D/C/D/ C/D/C/D/[K:treble] B,/B/^A/B/ A/B/A/B/ | E/_A/G/A/ G/A/G/A/ =A/c/B/c/ B/c/B/c/ | %27
 z .^G(Ac) z .G((Ac)) | z .^G(A=c) z .G(Ac) | [D=F_B]4 z/ _B,/D/F/ B z | z8 | %31
[K:bass] [^D,^D]2 .[F,F].[D,D] .[=C,=C].[A,,A,].[F,,F,].[^D,,D,] | [E,,E,]4 z4 | %33
 .E,.^G,.B,.D[K:treble] [E^GBd]4 | [Ac]2 z2 z4 |[K:bass] z2 .[A,C].[A,C] .[D,D] z .[E,B,].[E,B,] | %36
 .[A,,A,] z .F.E .D z .D.C | .B, z .[A,C].[A,C] .[D,D].[D,D].[E,B,].[E,B,] | %38
 [A,C]2 z .[E,D] [A,C]2 z .[E,D] | [A,C] z [A,,A,] z [A,,,A,,] z z2 :: %40
!mf!{/^G} .A.A,.A,.A, (PB,A,)(PB,A,) | .A.B.c.d e2[K:bass] z (^A, | %42
 .B,).B,,.B,,.B,, (PC,B,,)(PC,B,,) | .B,.C.^D.E F2 z (D |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ass] !tenuto![D,D]2[K:treble] .D.E .F.G.F.E | .D.F.G.B .F.A.E.G | .D.F.G.B .F.A.E.G | %77
 .D.F.D.F .B,.D.B,.D | A,2[K:bass] [A,,A,]>[A,,A,] [A,,A,]2 z2 | %79
[K:treble] .[DF].[DF].[DF].[DF] .[EG].[EG].[EG].[EG] | .[CE].[CE].[CE].[CE] .[DF].[DF].[DF].[DF] | %81
[K:bass] .[G,B,].[G,B,].[G,B,].[G,B,] [G,B,]2 z2 | .[G,,B,,].[G,B,].[G,B,].[F,A,] .[G,B,]2 z2 | %83
 .[G,,B,,].[G,B,].[G,B,].[G,B,] .[^G,B,].[G,B,].[G,B,].[G,B,] | %84
!f! A,,/C,/B,,/D,/ C,/E,/D,/F,/ z2 G,2 | F,2 z2 z4 | A,,/C,/B,,/D,/ C,/E,/D,/F,/ z2 G,2 | %87
 F,2 z2 z4 | G,,/G,/F,/G,/ F,/G,/F,/G,/ E,/E/^D/E/ D/E/D/E/ | %89
 A,/C/B,/C/ B,/C/B,/C/ D/F/E/F/ E/F/E/F/ | z .C(DF) z .C(DF) | z .C(D=F) z .C(DF) | %92
 [_B,D=F]2 z2[K:treble] z/ B,/D/F/ _B z | z8 | %94
[K:bass] [^G,,^G,]2 .[B,,B,].[G,,G,] .[=F,,=F,].[D,,D,].[B,,,B,,].[^G,,,G,,] | [A,,,A,,]8 | %96
 .A,,.C,.E,.G,[K:treble] [A,CEG]4 | [DF]2 z2 z4 | %98
[K:bass]!f! z2 .[D,F,].[D,F,] .[G,,G,] z .[A,,E,].[A,,E,] | %99
 .[D,,D,] z[K:treble] (B/c/A/B/ G) z (G/A/F/G/ | .E) z .[DF].[DF] .[G,G].[G,G].[A,E].[A,E] | %101
 [DF]2 z .[A,G] [DF]2 z .[A,G] | [DF]2[K:bass] [D,D]2 [D,,D,]2 z2 :| %103
V:3
 x8 | x8 | d d2 d2 d2 d | x8 | x8 | x8 | d d2 d2 d2 d | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %15
 x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %34
 x8 | x8 | x8 | x8 | x8 | x8 :: x8 | x8 | x8 | x8 | x8 | x4 e4- | e2 d4 c2- | c2 B4 A2- | %48
 A2 G4 F2- | F2 E4 D2 | F2 F2 F2 F2 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %62
 d d2 d2 d2 d | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %79
 x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %98
 x8 | x8 | x8 | x8 | x8 :| %103
V:4
 x3[K:treble] x5 | x8 | x8 | x8 | x8 | x8 | x8 | x2[K:bass] x6 | x8 | x8 | x2[K:treble] x6 | %11
 x2[K:treble] x6 | x8 | x8 | x8 | x2[K:bass] x6 | x8 | x8 | x8 | x8 | x8 | x4 B,4 | x8 | x4 B,4 | %24
 x8 | x4[K:treble] x4 | x8 | E4 E4 | E4 E4 | x8 | x8 |[K:bass] x8 | x8 | x4[K:treble] x4 | x8 | %35
[K:bass] x8 | x8 | x8 | x8 | x8 :: x8 | x6[K:bass] x2 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 | %50
 x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 |[K:treble] x4 B,4 | x8 | x3[K:treble] x5 | x8 | x8 | x8 | %64
 x8 | x8 | x8 | x8 | x8 | x8 | x8 | x8 |[K:treble] x8 | x8 |[K:bass] x2[K:treble] x6 | x8 | x8 | %77
 x8 | x[K:bass] x7 |[K:treble] x8 | x8 |[K:bass] x8 | x8 | x8 | x4 E,4 | x8 | x4 E,4 | x8 | x8 | %89
 x8 | A,4 A,4 | A,4 A,4 | x4[K:treble] x4 | x8 |[K:bass] x8 | x8 | x4[K:treble] x4 | x8 | %98
[K:bass] x8 | x2[K:treble] x6 | x8 | x8 | x2[K:bass] x6 :| %103


Questions about this score:
Is there an anacrusis (upbeat measure)?
What is the initial time signature?
Who is the composer?
In measure 1, what is the dynamic marking?
In measure 1, what is the ornament on the note D6?
In measure 17, is there an accidental?
In measure 1, is there a first-inversion D major chord?
In measure 1, what are the repeated notes of the D major chord?
In measure 1, does the piece begin on the tonic chord of the original key?
In which measure does the melodic motif appear?
What are the main structural features of the motif?
Where is the principal section of the piece?

Reference answers (in the same order):
No
4/4 time
Haydn
f (forte)
C♯6
Yes, E♯; G♯
Yes
Tonic
Yes
Measures 1, 2, 3, 4
Stepwise motion; Repeated notes; Leaps
Measures 1–8