darshil89 commited on
Commit
2e31e1e
·
verified ·
1 Parent(s): 46b4f6e

Upload 19 files

Browse files
.dockerignore ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Include any files or directories that you don't want to be copied to your
2
+ # container here (e.g., local build artifacts, temporary files, etc.).
3
+ #
4
+ # For more help, visit the .dockerignore file reference guide at
5
+ # https://docs.docker.com/go/build-context-dockerignore/
6
+
7
+ **/.DS_Store
8
+ **/__pycache__
9
+ **/.venv
10
+ **/.classpath
11
+ **/.dockerignore
12
+ **/.env
13
+ **/.git
14
+ **/.gitignore
15
+ **/.project
16
+ **/.settings
17
+ **/.toolstarget
18
+ **/.vs
19
+ **/.vscode
20
+ **/*.*proj.user
21
+ **/*.dbmdl
22
+ **/*.jfm
23
+ **/bin
24
+ **/charts
25
+ **/docker-compose*
26
+ **/compose.y*ml
27
+ **/Dockerfile*
28
+ **/node_modules
29
+ **/npm-debug.log
30
+ **/obj
31
+ **/secrets.dev.yaml
32
+ **/values.dev.yaml
33
+ LICENSE
34
+ README.md
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ output_teaser.png filter=lfs diff=lfs merge=lfs -text
Dockerfile ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG PYTHON_VERSION=3.12.4
2
+ FROM python:${PYTHON_VERSION}-slim as base
3
+
4
+ # Prevents Python from writing pyc files.
5
+ ENV PYTHONDONTWRITEBYTECODE=1
6
+
7
+ # Keeps Python from buffering stdout and stderr to avoid situations where
8
+ # the application crashes without emitting any logs due to buffering.
9
+ ENV PYTHONUNBUFFERED=1
10
+
11
+ WORKDIR /app
12
+
13
+ # Create a non-privileged user that the app will run under.
14
+ # See https://docs.docker.com/go/dockerfile-user-best-practices/
15
+ ARG UID=10001
16
+ RUN adduser \
17
+ --disabled-password \
18
+ --gecos "" \
19
+ --home "/nonexistent" \
20
+ --shell "/sbin/nologin" \
21
+ --no-create-home \
22
+ --uid "${UID}" \
23
+ appuser
24
+
25
+ # Download dependencies as a separate step to take advantage of Docker's caching.
26
+ # Leverage a cache mount to /root/.cache/pip to speed up subsequent builds.
27
+ # Leverage a bind mount to requirements.txt to avoid having to copy them into
28
+ # into this layer.
29
+ RUN --mount=type=cache,target=/root/.cache/pip \
30
+ --mount=type=bind,source=requirements.txt,target=requirements.txt \
31
+ python -m pip install -r requirements.txt
32
+
33
+ # Switch to the non-privileged user to run the application.
34
+ USER appuser
35
+
36
+ # Copy the source code into the container.
37
+ COPY . .
38
+
39
+ # Expose the port that the application listens on.
40
+ EXPOSE 8000
41
+
42
+ # Run the application.
43
+ CMD uvicorn main:app --host 0.0.0.0 --port 8000
README.Docker.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Building and running your application
2
+
3
+ When you're ready, start your application by running:
4
+ `docker compose up --build`.
5
+
6
+ Your application will be available at http://localhost:8000.
7
+
8
+ ### Deploying your application to the cloud
9
+
10
+ First, build your image, e.g.: `docker build -t myapp .`.
11
+ If your cloud uses a different CPU architecture than your development
12
+ machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
13
+ you'll want to build the image for that platform, e.g.:
14
+ `docker build --platform=linux/amd64 -t myapp .`.
15
+
16
+ Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
17
+
18
+ Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
19
+ docs for more detail on building and pushing.
20
+
21
+ ### References
22
+ * [Docker's Python guide](https://docs.docker.com/language/python/)
compose.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ services:
2
+ server:
3
+ build:
4
+ context: .
5
+ ports:
6
+ - 8000:8000
7
+
main.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI, File, UploadFile
2
+ from fastapi.middleware.cors import CORSMiddleware
3
+ from src.prototype import *
4
+ import os
5
+
6
+ app = FastAPI()
7
+ # Configure CORS
8
+ app.add_middleware(
9
+ CORSMiddleware,
10
+ allow_origins=["*"],
11
+ allow_credentials=True,
12
+ allow_methods=["*"],
13
+ allow_headers=["*"],
14
+ )
15
+
16
+ @app.get("/")
17
+ def read_root():
18
+ return {"message": "Welcome to the OMR API!"}
19
+
20
+ @app.post("/process-sheet-music")
21
+ async def process_sheet_music(image: UploadFile = File(...)):
22
+ """
23
+ Endpoint to process a sheet music image and return the MusicXML path.
24
+ """
25
+ # Save the uploaded file temporarily
26
+ temp_image_path = os.path.join(UPLOAD_FOLDER, "temp_upload.png")
27
+ with open(temp_image_path, "wb") as buffer:
28
+ content = await image.read()
29
+ buffer.write(content)
30
+
31
+ # Preprocess the image if necessary
32
+ preprocessed_path = preprocess_image(temp_image_path)
33
+
34
+ # Process sheet music image to generate MusicXML
35
+ process_sheet_music_image(preprocessed_path)
36
+
37
+ output_xml_path = "output.musicxml"
38
+ output_midi_path = "output.mid"
39
+
40
+ # Check if the MusicXML file was created successfully
41
+ if os.path.exists(output_xml_path):
42
+ convert_musicxml_to_midi(output_xml_path, output_midi_path)
43
+ play_midi(output_midi_path)
44
+ return {"message": "MusicXML generated successfully", "musicxml_path": output_xml_path}
45
+ else:
46
+ return {"error": "MusicXML generation failed"}
47
+
48
+
49
+ if __name__ == "__main__":
50
+ import uvicorn
51
+ # Run the FastAPI app
52
+ uvicorn.run(app, host="0.0.0.0", port=8000)
53
+ print("Starting FastAPI server on http://127.0.0.1:8000/")
output.mid ADDED
Binary file (1.58 kB). View file
 
output.musicxml ADDED
@@ -0,0 +1,2725 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 4.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
3
+ <score-partwise version="4.0">
4
+ <work>
5
+ <work-title>Input</work-title>
6
+ </work>
7
+ <identification>
8
+ <creator type="composer">Transcribed by Oemer</creator>
9
+ </identification>
10
+ <part-list>
11
+ <score-part id="P1">
12
+ <part-name>Piano</part-name>
13
+ <score-instrument id="P1-I1">
14
+ <instrument-name>Piano</instrument-name>
15
+ <instrument-sound>keyboard.piano</instrument-sound>
16
+ </score-instrument>
17
+ <midi-instrument id="P1-I1">
18
+ <midi-channel>1</midi-channel>
19
+ <midi-program>1</midi-program>
20
+ <volume>80</volume>
21
+ <pan>0</pan>
22
+ </midi-instrument>
23
+ </score-part>
24
+ </part-list>
25
+ <part id="P1">
26
+ <sound tempo="90"/>
27
+ <measure number="1">
28
+ <attributes>
29
+ <divisions>16</divisions>
30
+ <key>
31
+ <fifths>3</fifths>
32
+ </key>
33
+ <staves>2</staves>
34
+ <clef number="1">
35
+ <sign>G</sign>
36
+ <line>2</line>
37
+ </clef>
38
+ <clef number="2">
39
+ <sign>F</sign>
40
+ <line>4</line>
41
+ </clef>
42
+ </attributes>
43
+ <note>
44
+ <rest measure="yes"/>
45
+ <duration>3</duration>
46
+ <dot/>
47
+ <staff>2</staff>
48
+ </note>
49
+ <backup>
50
+ <duration>3</duration>
51
+ </backup>
52
+ <note>
53
+ <pitch>
54
+ <step>E</step>
55
+ <alter>0</alter>
56
+ <octave>5</octave>
57
+ </pitch>
58
+ <duration>3</duration>
59
+ <type>32nd</type>
60
+ <dot/>
61
+ <stem>down</stem>
62
+ <staff>1</staff>
63
+ <voice>1</voice>
64
+ </note>
65
+ <backup>
66
+ <duration>3</duration>
67
+ </backup>
68
+ <note>
69
+ <pitch>
70
+ <step>G</step>
71
+ <alter>1</alter>
72
+ <octave>3</octave>
73
+ </pitch>
74
+ <duration>32</duration>
75
+ <type>half</type>
76
+ <stem>down</stem>
77
+ <staff>2</staff>
78
+ <voice>2</voice>
79
+ </note>
80
+ <backup>
81
+ <duration>29</duration>
82
+ </backup>
83
+ <note>
84
+ <rest measure="yes"/>
85
+ <duration>8</duration>
86
+ <staff>2</staff>
87
+ </note>
88
+ <backup>
89
+ <duration>8</duration>
90
+ </backup>
91
+ <note>
92
+ <pitch>
93
+ <step>C</step>
94
+ <alter>1</alter>
95
+ <octave>5</octave>
96
+ </pitch>
97
+ <duration>8</duration>
98
+ <type>eighth</type>
99
+ <stem>up</stem>
100
+ <staff>1</staff>
101
+ <voice>1</voice>
102
+ </note>
103
+ <backup>
104
+ <duration>8</duration>
105
+ </backup>
106
+ <note>
107
+ <pitch>
108
+ <step>G</step>
109
+ <alter>1</alter>
110
+ <octave>4</octave>
111
+ </pitch>
112
+ <duration>8</duration>
113
+ <type>eighth</type>
114
+ <stem>down</stem>
115
+ <staff>1</staff>
116
+ <voice>2</voice>
117
+ </note>
118
+ <note>
119
+ <pitch>
120
+ <step>B</step>
121
+ <alter>0</alter>
122
+ <octave>4</octave>
123
+ </pitch>
124
+ <duration>8</duration>
125
+ <type>eighth</type>
126
+ <stem>up</stem>
127
+ <staff>1</staff>
128
+ <voice>1</voice>
129
+ </note>
130
+ <note>
131
+ <pitch>
132
+ <step>D</step>
133
+ <alter>0</alter>
134
+ <octave>4</octave>
135
+ </pitch>
136
+ <duration>12</duration>
137
+ <type>eighth</type>
138
+ <dot/>
139
+ <stem>down</stem>
140
+ <staff>2</staff>
141
+ <voice>1</voice>
142
+ </note>
143
+ <backup>
144
+ <duration>4</duration>
145
+ </backup>
146
+ <note>
147
+ <rest measure="yes"/>
148
+ <duration>8</duration>
149
+ <staff>1</staff>
150
+ </note>
151
+ <backup>
152
+ <duration>4</duration>
153
+ </backup>
154
+ <note>
155
+ <pitch>
156
+ <step>E</step>
157
+ <alter>0</alter>
158
+ <octave>3</octave>
159
+ </pitch>
160
+ <duration>8</duration>
161
+ <type>eighth</type>
162
+ <stem>down</stem>
163
+ <staff>2</staff>
164
+ <voice>1</voice>
165
+ </note>
166
+ <backup>
167
+ <duration>4</duration>
168
+ </backup>
169
+ <note>
170
+ <pitch>
171
+ <step>E</step>
172
+ <alter>0</alter>
173
+ <octave>4</octave>
174
+ </pitch>
175
+ <duration>8</duration>
176
+ <type>eighth</type>
177
+ <stem>up</stem>
178
+ <staff>1</staff>
179
+ <voice>1</voice>
180
+ </note>
181
+ <note>
182
+ <chord/>
183
+ <pitch>
184
+ <step>G</step>
185
+ <alter>1</alter>
186
+ <octave>4</octave>
187
+ </pitch>
188
+ <duration>8</duration>
189
+ <type>eighth</type>
190
+ <stem>up</stem>
191
+ <staff>1</staff>
192
+ <voice>1</voice>
193
+ </note>
194
+ <note>
195
+ <chord/>
196
+ <pitch>
197
+ <step>C</step>
198
+ <alter>1</alter>
199
+ <octave>5</octave>
200
+ </pitch>
201
+ <duration>8</duration>
202
+ <type>eighth</type>
203
+ <stem>up</stem>
204
+ <staff>1</staff>
205
+ <voice>1</voice>
206
+ </note>
207
+ <backup>
208
+ <duration>4</duration>
209
+ </backup>
210
+ <note>
211
+ <rest measure="yes"/>
212
+ <duration>8</duration>
213
+ <staff>2</staff>
214
+ </note>
215
+ <backup>
216
+ <duration>8</duration>
217
+ </backup>
218
+ <note>
219
+ <rest measure="yes"/>
220
+ <duration>4</duration>
221
+ <staff>1</staff>
222
+ </note>
223
+ <note>
224
+ <pitch>
225
+ <step>G</step>
226
+ <alter>1</alter>
227
+ <octave>3</octave>
228
+ </pitch>
229
+ <duration>12</duration>
230
+ <type>eighth</type>
231
+ <dot/>
232
+ <stem>down</stem>
233
+ <staff>2</staff>
234
+ <voice>1</voice>
235
+ </note>
236
+ <backup>
237
+ <duration>12</duration>
238
+ </backup>
239
+ <note>
240
+ <pitch>
241
+ <step>C</step>
242
+ <alter>0</alter>
243
+ <octave>5</octave>
244
+ </pitch>
245
+ <duration>24</duration>
246
+ <type>quarter</type>
247
+ <dot/>
248
+ <stem>up</stem>
249
+ <staff>1</staff>
250
+ <voice>1</voice>
251
+ </note>
252
+ <backup>
253
+ <duration>8</duration>
254
+ </backup>
255
+ <note>
256
+ <pitch>
257
+ <step>A</step>
258
+ <alter>0</alter>
259
+ <octave>2</octave>
260
+ </pitch>
261
+ <duration>8</duration>
262
+ <type>eighth</type>
263
+ <stem>down</stem>
264
+ <staff>2</staff>
265
+ <voice>1</voice>
266
+ </note>
267
+ <note>
268
+ <rest measure="yes"/>
269
+ <duration>8</duration>
270
+ <staff>1</staff>
271
+ </note>
272
+ <note>
273
+ <rest measure="yes"/>
274
+ <duration>8</duration>
275
+ <staff>2</staff>
276
+ </note>
277
+ </measure>
278
+ <measure number="2">
279
+ <note>
280
+ <rest measure="yes"/>
281
+ <duration>8</duration>
282
+ <staff>2</staff>
283
+ </note>
284
+ <backup>
285
+ <duration>8</duration>
286
+ </backup>
287
+ <note>
288
+ <rest measure="yes"/>
289
+ <duration>8</duration>
290
+ <staff>1</staff>
291
+ </note>
292
+ <backup>
293
+ <duration>8</duration>
294
+ </backup>
295
+ <note>
296
+ <pitch>
297
+ <step>D</step>
298
+ <alter>1</alter>
299
+ <octave>4</octave>
300
+ </pitch>
301
+ <duration>12</duration>
302
+ <type>eighth</type>
303
+ <dot/>
304
+ <stem>down</stem>
305
+ <staff>2</staff>
306
+ <voice>2</voice>
307
+ </note>
308
+ <backup>
309
+ <duration>4</duration>
310
+ </backup>
311
+ <backup>
312
+ <duration>8</duration>
313
+ </backup>
314
+ <note>
315
+ <pitch>
316
+ <step>C</step>
317
+ <alter>1</alter>
318
+ <octave>5</octave>
319
+ </pitch>
320
+ <duration>8</duration>
321
+ <type>eighth</type>
322
+ <stem>up</stem>
323
+ <staff>1</staff>
324
+ <voice>2</voice>
325
+ </note>
326
+ <note>
327
+ <chord/>
328
+ <pitch>
329
+ <step>G</step>
330
+ <alter>1</alter>
331
+ <octave>4</octave>
332
+ </pitch>
333
+ <duration>8</duration>
334
+ <type>eighth</type>
335
+ <stem>up</stem>
336
+ <staff>1</staff>
337
+ <voice>2</voice>
338
+ </note>
339
+ <note>
340
+ <chord/>
341
+ <pitch>
342
+ <step>F</step>
343
+ <alter>1</alter>
344
+ <octave>4</octave>
345
+ </pitch>
346
+ <duration>8</duration>
347
+ <type>eighth</type>
348
+ <stem>up</stem>
349
+ <staff>1</staff>
350
+ <voice>2</voice>
351
+ </note>
352
+ <attributes>
353
+ <clef number="1">
354
+ <sign>F</sign>
355
+ <line>4</line>
356
+ </clef>
357
+ </attributes>
358
+ <note>
359
+ <pitch>
360
+ <step>C</step>
361
+ <alter>1</alter>
362
+ <octave>4</octave>
363
+ </pitch>
364
+ <duration>16</duration>
365
+ <type>quarter</type>
366
+ <stem>down</stem>
367
+ <staff>2</staff>
368
+ <voice>1</voice>
369
+ </note>
370
+ <note>
371
+ <chord/>
372
+ <pitch>
373
+ <step>G</step>
374
+ <alter>1</alter>
375
+ <octave>3</octave>
376
+ </pitch>
377
+ <duration>16</duration>
378
+ <type>quarter</type>
379
+ <stem>down</stem>
380
+ <staff>2</staff>
381
+ <voice>1</voice>
382
+ </note>
383
+ <backup>
384
+ <duration>16</duration>
385
+ </backup>
386
+ <note>
387
+ <pitch>
388
+ <step>A</step>
389
+ <alter>0</alter>
390
+ <octave>3</octave>
391
+ </pitch>
392
+ <duration>12</duration>
393
+ <type>eighth</type>
394
+ <dot/>
395
+ <stem>up</stem>
396
+ <staff>1</staff>
397
+ <voice>1</voice>
398
+ </note>
399
+ <note>
400
+ <chord/>
401
+ <pitch>
402
+ <step>D</step>
403
+ <alter>1</alter>
404
+ <octave>3</octave>
405
+ </pitch>
406
+ <duration>12</duration>
407
+ <type>eighth</type>
408
+ <dot/>
409
+ <stem>up</stem>
410
+ <staff>1</staff>
411
+ <voice>1</voice>
412
+ </note>
413
+ <note>
414
+ <pitch>
415
+ <step>D</step>
416
+ <alter>1</alter>
417
+ <octave>3</octave>
418
+ </pitch>
419
+ <duration>4</duration>
420
+ <type>16th</type>
421
+ <stem>up</stem>
422
+ <staff>1</staff>
423
+ <voice>1</voice>
424
+ </note>
425
+ <note>
426
+ <rest measure="yes"/>
427
+ <duration>16</duration>
428
+ <staff>2</staff>
429
+ </note>
430
+ <backup>
431
+ <duration>16</duration>
432
+ </backup>
433
+ <note>
434
+ <pitch>
435
+ <step>A</step>
436
+ <alter>0</alter>
437
+ <octave>2</octave>
438
+ </pitch>
439
+ <duration>16</duration>
440
+ <type>quarter</type>
441
+ <stem>down</stem>
442
+ <staff>2</staff>
443
+ <voice>2</voice>
444
+ </note>
445
+ <backup>
446
+ <duration>16</duration>
447
+ </backup>
448
+ <note>
449
+ <pitch>
450
+ <step>G</step>
451
+ <alter>0</alter>
452
+ <octave>3</octave>
453
+ </pitch>
454
+ <duration>16</duration>
455
+ <type>quarter</type>
456
+ <stem>down</stem>
457
+ <staff>1</staff>
458
+ <voice>1</voice>
459
+ </note>
460
+ <note>
461
+ <rest measure="yes"/>
462
+ <duration>8</duration>
463
+ <staff>2</staff>
464
+ </note>
465
+ <backup>
466
+ <duration>8</duration>
467
+ </backup>
468
+ <note>
469
+ <rest measure="yes"/>
470
+ <duration>8</duration>
471
+ <staff>1</staff>
472
+ </note>
473
+ </measure>
474
+ <measure number="3">
475
+ <note>
476
+ <rest measure="yes"/>
477
+ <duration>16</duration>
478
+ <staff>2</staff>
479
+ </note>
480
+ <backup>
481
+ <duration>16</duration>
482
+ </backup>
483
+ <note>
484
+ <pitch>
485
+ <step>B</step>
486
+ <alter>1</alter>
487
+ <octave>3</octave>
488
+ </pitch>
489
+ <duration>8</duration>
490
+ <type>eighth</type>
491
+ <stem>down</stem>
492
+ <staff>1</staff>
493
+ <voice>1</voice>
494
+ </note>
495
+ <backup>
496
+ <duration>8</duration>
497
+ </backup>
498
+ <note>
499
+ <pitch>
500
+ <step>F</step>
501
+ <alter>1</alter>
502
+ <octave>3</octave>
503
+ </pitch>
504
+ <duration>8</duration>
505
+ <type>eighth</type>
506
+ <stem>down</stem>
507
+ <staff>1</staff>
508
+ <voice>2</voice>
509
+ </note>
510
+ <note>
511
+ <chord/>
512
+ <pitch>
513
+ <step>D</step>
514
+ <alter>0</alter>
515
+ <octave>3</octave>
516
+ </pitch>
517
+ <duration>8</duration>
518
+ <type>eighth</type>
519
+ <stem>down</stem>
520
+ <staff>1</staff>
521
+ <voice>2</voice>
522
+ </note>
523
+ <note>
524
+ <pitch>
525
+ <step>B</step>
526
+ <alter>0</alter>
527
+ <octave>3</octave>
528
+ </pitch>
529
+ <duration>8</duration>
530
+ <type>eighth</type>
531
+ <stem>down</stem>
532
+ <staff>1</staff>
533
+ <voice>1</voice>
534
+ </note>
535
+ <note>
536
+ <pitch>
537
+ <step>D</step>
538
+ <alter>0</alter>
539
+ <octave>4</octave>
540
+ </pitch>
541
+ <duration>12</duration>
542
+ <type>eighth</type>
543
+ <dot/>
544
+ <stem>down</stem>
545
+ <staff>2</staff>
546
+ <voice>1</voice>
547
+ </note>
548
+ <backup>
549
+ <duration>12</duration>
550
+ </backup>
551
+ <note>
552
+ <rest measure="yes"/>
553
+ <duration>12</duration>
554
+ <dot/>
555
+ <staff>1</staff>
556
+ </note>
557
+ <note>
558
+ <pitch>
559
+ <step>E</step>
560
+ <alter>0</alter>
561
+ <octave>3</octave>
562
+ </pitch>
563
+ <duration>8</duration>
564
+ <type>eighth</type>
565
+ <stem>down</stem>
566
+ <staff>2</staff>
567
+ <voice>1</voice>
568
+ </note>
569
+ <backup>
570
+ <duration>8</duration>
571
+ </backup>
572
+ <note>
573
+ <pitch>
574
+ <step>B</step>
575
+ <alter>0</alter>
576
+ <octave>3</octave>
577
+ </pitch>
578
+ <duration>8</duration>
579
+ <type>eighth</type>
580
+ <stem>down</stem>
581
+ <staff>1</staff>
582
+ <voice>1</voice>
583
+ </note>
584
+ <note>
585
+ <chord/>
586
+ <pitch>
587
+ <step>E</step>
588
+ <alter>0</alter>
589
+ <octave>4</octave>
590
+ </pitch>
591
+ <duration>8</duration>
592
+ <type>eighth</type>
593
+ <stem>down</stem>
594
+ <staff>1</staff>
595
+ <voice>1</voice>
596
+ </note>
597
+ <note>
598
+ <chord/>
599
+ <pitch>
600
+ <step>F</step>
601
+ <alter>1</alter>
602
+ <octave>3</octave>
603
+ </pitch>
604
+ <duration>8</duration>
605
+ <type>eighth</type>
606
+ <stem>down</stem>
607
+ <staff>1</staff>
608
+ <voice>1</voice>
609
+ </note>
610
+ <note>
611
+ <rest measure="yes"/>
612
+ <duration>8</duration>
613
+ <staff>2</staff>
614
+ </note>
615
+ <backup>
616
+ <duration>8</duration>
617
+ </backup>
618
+ <note>
619
+ <pitch>
620
+ <step>E</step>
621
+ <alter>0</alter>
622
+ <octave>4</octave>
623
+ </pitch>
624
+ <duration>8</duration>
625
+ <type>eighth</type>
626
+ <stem>down</stem>
627
+ <staff>1</staff>
628
+ <voice>1</voice>
629
+ </note>
630
+ <backup>
631
+ <duration>8</duration>
632
+ </backup>
633
+ <note>
634
+ <rest measure="yes"/>
635
+ <duration>16</duration>
636
+ <staff>2</staff>
637
+ </note>
638
+ <note>
639
+ <rest measure="yes"/>
640
+ <duration>8</duration>
641
+ <staff>1</staff>
642
+ </note>
643
+ <backup>
644
+ <duration>8</duration>
645
+ </backup>
646
+ <note>
647
+ <pitch>
648
+ <step>A</step>
649
+ <alter>0</alter>
650
+ <octave>3</octave>
651
+ </pitch>
652
+ <duration>8</duration>
653
+ <type>eighth</type>
654
+ <stem>down</stem>
655
+ <staff>2</staff>
656
+ <voice>1</voice>
657
+ </note>
658
+ <note>
659
+ <chord/>
660
+ <pitch>
661
+ <step>D</step>
662
+ <alter>0</alter>
663
+ <octave>4</octave>
664
+ </pitch>
665
+ <duration>8</duration>
666
+ <type>eighth</type>
667
+ <stem>down</stem>
668
+ <staff>2</staff>
669
+ <voice>1</voice>
670
+ </note>
671
+ <note>
672
+ <rest measure="yes"/>
673
+ <duration>16</duration>
674
+ <staff>1</staff>
675
+ </note>
676
+ <backup>
677
+ <duration>16</duration>
678
+ </backup>
679
+ <note>
680
+ <pitch>
681
+ <step>B</step>
682
+ <alter>0</alter>
683
+ <octave>2</octave>
684
+ </pitch>
685
+ <duration>8</duration>
686
+ <type>eighth</type>
687
+ <stem>down</stem>
688
+ <staff>2</staff>
689
+ <voice>1</voice>
690
+ </note>
691
+ <note>
692
+ <rest measure="yes"/>
693
+ <duration>8</duration>
694
+ <staff>2</staff>
695
+ </note>
696
+ </measure>
697
+ <measure number="4">
698
+ <note>
699
+ <pitch>
700
+ <step>G</step>
701
+ <alter>1</alter>
702
+ <octave>3</octave>
703
+ </pitch>
704
+ <duration>12</duration>
705
+ <type>eighth</type>
706
+ <dot/>
707
+ <stem>down</stem>
708
+ <staff>2</staff>
709
+ <voice>1</voice>
710
+ </note>
711
+ <note>
712
+ <chord/>
713
+ <pitch>
714
+ <step>E</step>
715
+ <alter>0</alter>
716
+ <octave>4</octave>
717
+ </pitch>
718
+ <duration>12</duration>
719
+ <type>eighth</type>
720
+ <dot/>
721
+ <stem>down</stem>
722
+ <staff>2</staff>
723
+ <voice>1</voice>
724
+ </note>
725
+ <backup>
726
+ <duration>12</duration>
727
+ </backup>
728
+ <note>
729
+ <pitch>
730
+ <step>G</step>
731
+ <alter>1</alter>
732
+ <octave>3</octave>
733
+ </pitch>
734
+ <duration>8</duration>
735
+ <type>eighth</type>
736
+ <stem>down</stem>
737
+ <staff>1</staff>
738
+ <voice>1</voice>
739
+ </note>
740
+ <note>
741
+ <chord/>
742
+ <pitch>
743
+ <step>B</step>
744
+ <alter>0</alter>
745
+ <octave>3</octave>
746
+ </pitch>
747
+ <duration>8</duration>
748
+ <type>eighth</type>
749
+ <stem>down</stem>
750
+ <staff>1</staff>
751
+ <voice>1</voice>
752
+ </note>
753
+ <note>
754
+ <chord/>
755
+ <pitch>
756
+ <step>E</step>
757
+ <alter>0</alter>
758
+ <octave>4</octave>
759
+ </pitch>
760
+ <duration>8</duration>
761
+ <type>eighth</type>
762
+ <stem>down</stem>
763
+ <staff>1</staff>
764
+ <voice>1</voice>
765
+ </note>
766
+ <note>
767
+ <pitch>
768
+ <step>D</step>
769
+ <alter>0</alter>
770
+ <octave>4</octave>
771
+ </pitch>
772
+ <duration>8</duration>
773
+ <type>eighth</type>
774
+ <stem>down</stem>
775
+ <staff>1</staff>
776
+ <voice>1</voice>
777
+ </note>
778
+ <backup>
779
+ <duration>4</duration>
780
+ </backup>
781
+ <note>
782
+ <rest measure="yes"/>
783
+ <duration>2</duration>
784
+ <staff>2</staff>
785
+ </note>
786
+ <backup>
787
+ <duration>2</duration>
788
+ </backup>
789
+ <note>
790
+ <pitch>
791
+ <step>B</step>
792
+ <alter>0</alter>
793
+ <octave>2</octave>
794
+ </pitch>
795
+ <duration>8</duration>
796
+ <type>eighth</type>
797
+ <stem>down</stem>
798
+ <staff>2</staff>
799
+ <voice>2</voice>
800
+ </note>
801
+ <note>
802
+ <chord/>
803
+ <pitch>
804
+ <step>E</step>
805
+ <alter>0</alter>
806
+ <octave>2</octave>
807
+ </pitch>
808
+ <duration>8</duration>
809
+ <type>eighth</type>
810
+ <stem>down</stem>
811
+ <staff>2</staff>
812
+ <voice>2</voice>
813
+ </note>
814
+ <backup>
815
+ <duration>6</duration>
816
+ </backup>
817
+ <note>
818
+ <rest measure="yes"/>
819
+ <duration>8</duration>
820
+ <staff>1</staff>
821
+ </note>
822
+ <backup>
823
+ <duration>10</duration>
824
+ </backup>
825
+ <note>
826
+ <rest measure="yes"/>
827
+ <duration>12</duration>
828
+ <dot/>
829
+ <staff>2</staff>
830
+ </note>
831
+ <note>
832
+ <pitch>
833
+ <step>B</step>
834
+ <alter>0</alter>
835
+ <octave>2</octave>
836
+ </pitch>
837
+ <duration>24</duration>
838
+ <type>quarter</type>
839
+ <dot/>
840
+ <stem>down</stem>
841
+ <staff>1</staff>
842
+ <voice>2</voice>
843
+ </note>
844
+ <note>
845
+ <chord/>
846
+ <pitch>
847
+ <step>G</step>
848
+ <alter>1</alter>
849
+ <octave>2</octave>
850
+ </pitch>
851
+ <duration>24</duration>
852
+ <type>quarter</type>
853
+ <dot/>
854
+ <stem>down</stem>
855
+ <staff>1</staff>
856
+ <voice>2</voice>
857
+ </note>
858
+ <backup>
859
+ <duration>34</duration>
860
+ </backup>
861
+ <note>
862
+ <pitch>
863
+ <step>G</step>
864
+ <alter>1</alter>
865
+ <octave>3</octave>
866
+ </pitch>
867
+ <duration>16</duration>
868
+ <type>quarter</type>
869
+ <stem>down</stem>
870
+ <staff>2</staff>
871
+ <voice>1</voice>
872
+ </note>
873
+ <note>
874
+ <chord/>
875
+ <pitch>
876
+ <step>A</step>
877
+ <alter>0</alter>
878
+ <octave>2</octave>
879
+ </pitch>
880
+ <duration>16</duration>
881
+ <type>quarter</type>
882
+ <stem>down</stem>
883
+ <staff>2</staff>
884
+ <voice>1</voice>
885
+ </note>
886
+ <backup>
887
+ <duration>16</duration>
888
+ </backup>
889
+ <note>
890
+ <pitch>
891
+ <step>E</step>
892
+ <alter>1</alter>
893
+ <octave>3</octave>
894
+ </pitch>
895
+ <duration>8</duration>
896
+ <type>eighth</type>
897
+ <stem>up</stem>
898
+ <staff>1</staff>
899
+ <voice>1</voice>
900
+ </note>
901
+ <note>
902
+ <pitch>
903
+ <step>E</step>
904
+ <alter>0</alter>
905
+ <octave>3</octave>
906
+ </pitch>
907
+ <duration>8</duration>
908
+ <type>eighth</type>
909
+ <stem>up</stem>
910
+ <staff>1</staff>
911
+ <voice>1</voice>
912
+ </note>
913
+ </measure>
914
+ <measure number="5">
915
+ <print new-system="yes"/>
916
+ <attributes>
917
+ <clef number="1">
918
+ <sign>G</sign>
919
+ <line>2</line>
920
+ </clef>
921
+ </attributes>
922
+ <attributes>
923
+ <key>
924
+ <fifths>4</fifths>
925
+ </key>
926
+ </attributes>
927
+ <note>
928
+ <pitch>
929
+ <step>D</step>
930
+ <alter>1</alter>
931
+ <octave>4</octave>
932
+ </pitch>
933
+ <duration>12</duration>
934
+ <type>eighth</type>
935
+ <dot/>
936
+ <stem>down</stem>
937
+ <staff>2</staff>
938
+ <voice>1</voice>
939
+ </note>
940
+ <backup>
941
+ <duration>12</duration>
942
+ </backup>
943
+ <note>
944
+ <pitch>
945
+ <step>G</step>
946
+ <alter>1</alter>
947
+ <octave>4</octave>
948
+ </pitch>
949
+ <duration>12</duration>
950
+ <type>eighth</type>
951
+ <dot/>
952
+ <stem>up</stem>
953
+ <staff>1</staff>
954
+ <voice>1</voice>
955
+ </note>
956
+ <note>
957
+ <chord/>
958
+ <pitch>
959
+ <step>C</step>
960
+ <alter>1</alter>
961
+ <octave>5</octave>
962
+ </pitch>
963
+ <duration>12</duration>
964
+ <type>eighth</type>
965
+ <dot/>
966
+ <stem>up</stem>
967
+ <staff>1</staff>
968
+ <voice>1</voice>
969
+ </note>
970
+ <note>
971
+ <pitch>
972
+ <step>E</step>
973
+ <alter>0</alter>
974
+ <octave>3</octave>
975
+ </pitch>
976
+ <duration>8</duration>
977
+ <type>eighth</type>
978
+ <stem>down</stem>
979
+ <staff>2</staff>
980
+ <voice>1</voice>
981
+ </note>
982
+ <backup>
983
+ <duration>8</duration>
984
+ </backup>
985
+ <note>
986
+ <pitch>
987
+ <step>B</step>
988
+ <alter>0</alter>
989
+ <octave>4</octave>
990
+ </pitch>
991
+ <duration>8</duration>
992
+ <type>eighth</type>
993
+ <stem>up</stem>
994
+ <staff>1</staff>
995
+ <voice>1</voice>
996
+ </note>
997
+ <note>
998
+ <rest measure="yes"/>
999
+ <duration>8</duration>
1000
+ <staff>2</staff>
1001
+ </note>
1002
+ <backup>
1003
+ <duration>8</duration>
1004
+ </backup>
1005
+ <note>
1006
+ <rest measure="yes"/>
1007
+ <duration>8</duration>
1008
+ <staff>1</staff>
1009
+ </note>
1010
+ <note>
1011
+ <pitch>
1012
+ <step>G</step>
1013
+ <alter>1</alter>
1014
+ <octave>3</octave>
1015
+ </pitch>
1016
+ <duration>8</duration>
1017
+ <type>eighth</type>
1018
+ <stem>down</stem>
1019
+ <staff>2</staff>
1020
+ <voice>1</voice>
1021
+ </note>
1022
+ <backup>
1023
+ <duration>8</duration>
1024
+ </backup>
1025
+ <note>
1026
+ <pitch>
1027
+ <step>C</step>
1028
+ <alter>1</alter>
1029
+ <octave>5</octave>
1030
+ </pitch>
1031
+ <duration>8</duration>
1032
+ <type>eighth</type>
1033
+ <stem>up</stem>
1034
+ <staff>1</staff>
1035
+ <voice>1</voice>
1036
+ </note>
1037
+ <note>
1038
+ <chord/>
1039
+ <pitch>
1040
+ <step>G</step>
1041
+ <alter>1</alter>
1042
+ <octave>4</octave>
1043
+ </pitch>
1044
+ <duration>8</duration>
1045
+ <type>eighth</type>
1046
+ <stem>up</stem>
1047
+ <staff>1</staff>
1048
+ <voice>1</voice>
1049
+ </note>
1050
+ <note>
1051
+ <chord/>
1052
+ <pitch>
1053
+ <step>E</step>
1054
+ <alter>0</alter>
1055
+ <octave>4</octave>
1056
+ </pitch>
1057
+ <duration>8</duration>
1058
+ <type>eighth</type>
1059
+ <stem>up</stem>
1060
+ <staff>1</staff>
1061
+ <voice>1</voice>
1062
+ </note>
1063
+ <note>
1064
+ <pitch>
1065
+ <step>C</step>
1066
+ <alter>0</alter>
1067
+ <octave>5</octave>
1068
+ </pitch>
1069
+ <duration>8</duration>
1070
+ <type>eighth</type>
1071
+ <stem>up</stem>
1072
+ <staff>1</staff>
1073
+ <voice>1</voice>
1074
+ </note>
1075
+ <note>
1076
+ <pitch>
1077
+ <step>A</step>
1078
+ <alter>0</alter>
1079
+ <octave>2</octave>
1080
+ </pitch>
1081
+ <duration>8</duration>
1082
+ <type>eighth</type>
1083
+ <stem>down</stem>
1084
+ <staff>2</staff>
1085
+ <voice>1</voice>
1086
+ </note>
1087
+ <note>
1088
+ <rest measure="yes"/>
1089
+ <duration>8</duration>
1090
+ <staff>1</staff>
1091
+ </note>
1092
+ <note>
1093
+ <rest measure="yes"/>
1094
+ <duration>8</duration>
1095
+ <staff>2</staff>
1096
+ </note>
1097
+ <note>
1098
+ <rest measure="yes"/>
1099
+ <duration>8</duration>
1100
+ <staff>1</staff>
1101
+ </note>
1102
+ <backup>
1103
+ <duration>8</duration>
1104
+ </backup>
1105
+ <note>
1106
+ <rest measure="yes"/>
1107
+ <duration>8</duration>
1108
+ <staff>2</staff>
1109
+ </note>
1110
+ </measure>
1111
+ <measure number="6">
1112
+ <note>
1113
+ <rest measure="yes"/>
1114
+ <duration>8</duration>
1115
+ <staff>2</staff>
1116
+ </note>
1117
+ <backup>
1118
+ <duration>8</duration>
1119
+ </backup>
1120
+ <note>
1121
+ <rest measure="yes"/>
1122
+ <duration>8</duration>
1123
+ <staff>1</staff>
1124
+ </note>
1125
+ <backup>
1126
+ <duration>8</duration>
1127
+ </backup>
1128
+ <note>
1129
+ <pitch>
1130
+ <step>D</step>
1131
+ <alter>1</alter>
1132
+ <octave>4</octave>
1133
+ </pitch>
1134
+ <duration>12</duration>
1135
+ <type>eighth</type>
1136
+ <dot/>
1137
+ <stem>down</stem>
1138
+ <staff>2</staff>
1139
+ <voice>2</voice>
1140
+ </note>
1141
+ <backup>
1142
+ <duration>4</duration>
1143
+ </backup>
1144
+ <backup>
1145
+ <duration>8</duration>
1146
+ </backup>
1147
+ <note>
1148
+ <pitch>
1149
+ <step>G</step>
1150
+ <alter>1</alter>
1151
+ <octave>4</octave>
1152
+ </pitch>
1153
+ <duration>8</duration>
1154
+ <type>eighth</type>
1155
+ <stem>up</stem>
1156
+ <staff>1</staff>
1157
+ <voice>2</voice>
1158
+ </note>
1159
+ <note>
1160
+ <chord/>
1161
+ <pitch>
1162
+ <step>C</step>
1163
+ <alter>1</alter>
1164
+ <octave>5</octave>
1165
+ </pitch>
1166
+ <duration>8</duration>
1167
+ <type>eighth</type>
1168
+ <stem>up</stem>
1169
+ <staff>1</staff>
1170
+ <voice>2</voice>
1171
+ </note>
1172
+ <attributes>
1173
+ <clef number="1">
1174
+ <sign>F</sign>
1175
+ <line>4</line>
1176
+ </clef>
1177
+ </attributes>
1178
+ <note>
1179
+ <pitch>
1180
+ <step>D</step>
1181
+ <alter>1</alter>
1182
+ <octave>3</octave>
1183
+ </pitch>
1184
+ <duration>12</duration>
1185
+ <type>eighth</type>
1186
+ <dot/>
1187
+ <stem>up</stem>
1188
+ <staff>1</staff>
1189
+ <voice>1</voice>
1190
+ </note>
1191
+ <note>
1192
+ <chord/>
1193
+ <pitch>
1194
+ <step>A</step>
1195
+ <alter>0</alter>
1196
+ <octave>3</octave>
1197
+ </pitch>
1198
+ <duration>12</duration>
1199
+ <type>eighth</type>
1200
+ <dot/>
1201
+ <stem>up</stem>
1202
+ <staff>1</staff>
1203
+ <voice>1</voice>
1204
+ </note>
1205
+ <note>
1206
+ <pitch>
1207
+ <step>D</step>
1208
+ <alter>1</alter>
1209
+ <octave>3</octave>
1210
+ </pitch>
1211
+ <duration>16</duration>
1212
+ <type>quarter</type>
1213
+ <stem>down</stem>
1214
+ <staff>1</staff>
1215
+ <voice>1</voice>
1216
+ </note>
1217
+ <backup>
1218
+ <duration>28</duration>
1219
+ </backup>
1220
+ <note>
1221
+ <rest measure="yes"/>
1222
+ <duration>24</duration>
1223
+ <dot/>
1224
+ <staff>2</staff>
1225
+ </note>
1226
+ <note>
1227
+ <rest measure="yes"/>
1228
+ <duration>16</duration>
1229
+ <staff>2</staff>
1230
+ </note>
1231
+ <backup>
1232
+ <duration>16</duration>
1233
+ </backup>
1234
+ <note>
1235
+ <pitch>
1236
+ <step>G</step>
1237
+ <alter>0</alter>
1238
+ <octave>3</octave>
1239
+ </pitch>
1240
+ <duration>16</duration>
1241
+ <type>quarter</type>
1242
+ <stem>down</stem>
1243
+ <staff>1</staff>
1244
+ <voice>1</voice>
1245
+ </note>
1246
+ <backup>
1247
+ <duration>16</duration>
1248
+ </backup>
1249
+ <note>
1250
+ <pitch>
1251
+ <step>A</step>
1252
+ <alter>0</alter>
1253
+ <octave>2</octave>
1254
+ </pitch>
1255
+ <duration>16</duration>
1256
+ <type>quarter</type>
1257
+ <stem>down</stem>
1258
+ <staff>2</staff>
1259
+ <voice>2</voice>
1260
+ </note>
1261
+ <forward>
1262
+ <duration>28</duration>
1263
+ </forward>
1264
+ <backup>
1265
+ <duration>28</duration>
1266
+ </backup>
1267
+ <note>
1268
+ <rest measure="yes"/>
1269
+ <duration>12</duration>
1270
+ <dot/>
1271
+ <staff>2</staff>
1272
+ </note>
1273
+ <backup>
1274
+ <duration>12</duration>
1275
+ </backup>
1276
+ <note>
1277
+ <rest measure="yes"/>
1278
+ <duration>8</duration>
1279
+ <staff>1</staff>
1280
+ </note>
1281
+ <attributes>
1282
+ <clef number="2">
1283
+ <sign>G</sign>
1284
+ <line>2</line>
1285
+ </clef>
1286
+ </attributes>
1287
+ </measure>
1288
+ <measure number="7">
1289
+ <note>
1290
+ <rest measure="yes"/>
1291
+ <duration>8</duration>
1292
+ <staff>2</staff>
1293
+ </note>
1294
+ <backup>
1295
+ <duration>8</duration>
1296
+ </backup>
1297
+ <note>
1298
+ <pitch>
1299
+ <step>G</step>
1300
+ <alter>1</alter>
1301
+ <octave>3</octave>
1302
+ </pitch>
1303
+ <duration>8</duration>
1304
+ <type>eighth</type>
1305
+ <stem>down</stem>
1306
+ <staff>1</staff>
1307
+ <voice>1</voice>
1308
+ </note>
1309
+ <note>
1310
+ <chord/>
1311
+ <pitch>
1312
+ <step>B</step>
1313
+ <alter>0</alter>
1314
+ <octave>3</octave>
1315
+ </pitch>
1316
+ <duration>8</duration>
1317
+ <type>eighth</type>
1318
+ <stem>down</stem>
1319
+ <staff>1</staff>
1320
+ <voice>1</voice>
1321
+ </note>
1322
+ <note>
1323
+ <chord/>
1324
+ <pitch>
1325
+ <step>E</step>
1326
+ <alter>0</alter>
1327
+ <octave>4</octave>
1328
+ </pitch>
1329
+ <duration>8</duration>
1330
+ <type>eighth</type>
1331
+ <stem>down</stem>
1332
+ <staff>1</staff>
1333
+ <voice>1</voice>
1334
+ </note>
1335
+ <note>
1336
+ <pitch>
1337
+ <step>D</step>
1338
+ <alter>1</alter>
1339
+ <octave>4</octave>
1340
+ </pitch>
1341
+ <duration>8</duration>
1342
+ <type>eighth</type>
1343
+ <stem>down</stem>
1344
+ <staff>1</staff>
1345
+ <voice>1</voice>
1346
+ </note>
1347
+ <backup>
1348
+ <duration>8</duration>
1349
+ </backup>
1350
+ <note>
1351
+ <rest measure="yes"/>
1352
+ <duration>8</duration>
1353
+ <staff>2</staff>
1354
+ </note>
1355
+ <note>
1356
+ <rest measure="yes"/>
1357
+ <duration>8</duration>
1358
+ <staff>1</staff>
1359
+ </note>
1360
+ <backup>
1361
+ <duration>8</duration>
1362
+ </backup>
1363
+ <note>
1364
+ <pitch>
1365
+ <step>G</step>
1366
+ <alter>1</alter>
1367
+ <octave>4</octave>
1368
+ </pitch>
1369
+ <duration>8</duration>
1370
+ <type>eighth</type>
1371
+ <stem>down</stem>
1372
+ <staff>2</staff>
1373
+ <voice>1</voice>
1374
+ </note>
1375
+ <note>
1376
+ <chord/>
1377
+ <pitch>
1378
+ <step>C</step>
1379
+ <alter>1</alter>
1380
+ <octave>5</octave>
1381
+ </pitch>
1382
+ <duration>8</duration>
1383
+ <type>eighth</type>
1384
+ <stem>down</stem>
1385
+ <staff>2</staff>
1386
+ <voice>1</voice>
1387
+ </note>
1388
+ <attributes>
1389
+ <clef number="2">
1390
+ <sign>F</sign>
1391
+ <line>4</line>
1392
+ </clef>
1393
+ </attributes>
1394
+ <note>
1395
+ <pitch>
1396
+ <step>A</step>
1397
+ <alter>0</alter>
1398
+ <octave>3</octave>
1399
+ </pitch>
1400
+ <duration>8</duration>
1401
+ <type>eighth</type>
1402
+ <stem>down</stem>
1403
+ <staff>2</staff>
1404
+ <voice>1</voice>
1405
+ </note>
1406
+ <backup>
1407
+ <duration>8</duration>
1408
+ </backup>
1409
+ <note>
1410
+ <pitch>
1411
+ <step>A</step>
1412
+ <alter>1</alter>
1413
+ <octave>3</octave>
1414
+ </pitch>
1415
+ <duration>8</duration>
1416
+ <type>eighth</type>
1417
+ <stem>down</stem>
1418
+ <staff>1</staff>
1419
+ <voice>1</voice>
1420
+ </note>
1421
+ <note>
1422
+ <chord/>
1423
+ <pitch>
1424
+ <step>G</step>
1425
+ <alter>0</alter>
1426
+ <octave>4</octave>
1427
+ </pitch>
1428
+ <duration>8</duration>
1429
+ <type>eighth</type>
1430
+ <stem>down</stem>
1431
+ <staff>1</staff>
1432
+ <voice>1</voice>
1433
+ </note>
1434
+ <note>
1435
+ <chord/>
1436
+ <pitch>
1437
+ <step>D</step>
1438
+ <alter>1</alter>
1439
+ <octave>4</octave>
1440
+ </pitch>
1441
+ <duration>8</duration>
1442
+ <type>eighth</type>
1443
+ <stem>down</stem>
1444
+ <staff>1</staff>
1445
+ <voice>1</voice>
1446
+ </note>
1447
+ <note>
1448
+ <rest measure="yes"/>
1449
+ <duration>8</duration>
1450
+ <staff>2</staff>
1451
+ </note>
1452
+ <backup>
1453
+ <duration>8</duration>
1454
+ </backup>
1455
+ <note>
1456
+ <pitch>
1457
+ <step>G</step>
1458
+ <alter>0</alter>
1459
+ <octave>4</octave>
1460
+ </pitch>
1461
+ <duration>8</duration>
1462
+ <type>eighth</type>
1463
+ <stem>down</stem>
1464
+ <staff>1</staff>
1465
+ <voice>1</voice>
1466
+ </note>
1467
+ <note>
1468
+ <rest measure="yes"/>
1469
+ <duration>8</duration>
1470
+ <staff>1</staff>
1471
+ </note>
1472
+ <backup>
1473
+ <duration>8</duration>
1474
+ </backup>
1475
+ <note>
1476
+ <pitch>
1477
+ <step>F</step>
1478
+ <alter>1</alter>
1479
+ <octave>4</octave>
1480
+ </pitch>
1481
+ <duration>8</duration>
1482
+ <type>eighth</type>
1483
+ <stem>down</stem>
1484
+ <staff>2</staff>
1485
+ <voice>1</voice>
1486
+ </note>
1487
+ <note>
1488
+ <chord/>
1489
+ <pitch>
1490
+ <step>C</step>
1491
+ <alter>1</alter>
1492
+ <octave>4</octave>
1493
+ </pitch>
1494
+ <duration>8</duration>
1495
+ <type>eighth</type>
1496
+ <stem>down</stem>
1497
+ <staff>2</staff>
1498
+ <voice>1</voice>
1499
+ </note>
1500
+ <note>
1501
+ <rest measure="yes"/>
1502
+ <duration>16</duration>
1503
+ <staff>1</staff>
1504
+ </note>
1505
+ <backup>
1506
+ <duration>16</duration>
1507
+ </backup>
1508
+ <note>
1509
+ <pitch>
1510
+ <step>D</step>
1511
+ <alter>0</alter>
1512
+ <octave>3</octave>
1513
+ </pitch>
1514
+ <duration>8</duration>
1515
+ <type>eighth</type>
1516
+ <stem>down</stem>
1517
+ <staff>2</staff>
1518
+ <voice>1</voice>
1519
+ </note>
1520
+ <note>
1521
+ <rest measure="yes"/>
1522
+ <duration>8</duration>
1523
+ <staff>2</staff>
1524
+ </note>
1525
+ </measure>
1526
+ <measure number="8">
1527
+ <note>
1528
+ <pitch>
1529
+ <step>G</step>
1530
+ <alter>0</alter>
1531
+ <octave>4</octave>
1532
+ </pitch>
1533
+ <duration>8</duration>
1534
+ <type>eighth</type>
1535
+ <stem>down</stem>
1536
+ <staff>2</staff>
1537
+ <voice>1</voice>
1538
+ </note>
1539
+ <note>
1540
+ <chord/>
1541
+ <pitch>
1542
+ <step>B</step>
1543
+ <alter>0</alter>
1544
+ <octave>3</octave>
1545
+ </pitch>
1546
+ <duration>8</duration>
1547
+ <type>eighth</type>
1548
+ <stem>down</stem>
1549
+ <staff>2</staff>
1550
+ <voice>1</voice>
1551
+ </note>
1552
+ <backup>
1553
+ <duration>8</duration>
1554
+ </backup>
1555
+ <note>
1556
+ <pitch>
1557
+ <step>G</step>
1558
+ <alter>0</alter>
1559
+ <octave>4</octave>
1560
+ </pitch>
1561
+ <duration>16</duration>
1562
+ <type>quarter</type>
1563
+ <stem>down</stem>
1564
+ <staff>1</staff>
1565
+ <voice>1</voice>
1566
+ </note>
1567
+ <note>
1568
+ <chord/>
1569
+ <pitch>
1570
+ <step>B</step>
1571
+ <alter>0</alter>
1572
+ <octave>3</octave>
1573
+ </pitch>
1574
+ <duration>16</duration>
1575
+ <type>quarter</type>
1576
+ <stem>down</stem>
1577
+ <staff>1</staff>
1578
+ <voice>1</voice>
1579
+ </note>
1580
+ <note>
1581
+ <chord/>
1582
+ <pitch>
1583
+ <step>D</step>
1584
+ <alter>0</alter>
1585
+ <octave>4</octave>
1586
+ </pitch>
1587
+ <duration>16</duration>
1588
+ <type>quarter</type>
1589
+ <stem>down</stem>
1590
+ <staff>1</staff>
1591
+ <voice>1</voice>
1592
+ </note>
1593
+ <backup>
1594
+ <duration>8</duration>
1595
+ </backup>
1596
+ <note>
1597
+ <pitch>
1598
+ <step>G</step>
1599
+ <alter>0</alter>
1600
+ <octave>2</octave>
1601
+ </pitch>
1602
+ <duration>8</duration>
1603
+ <type>eighth</type>
1604
+ <stem>down</stem>
1605
+ <staff>2</staff>
1606
+ <voice>1</voice>
1607
+ </note>
1608
+ <note>
1609
+ <chord/>
1610
+ <pitch>
1611
+ <step>D</step>
1612
+ <alter>0</alter>
1613
+ <octave>3</octave>
1614
+ </pitch>
1615
+ <duration>8</duration>
1616
+ <type>eighth</type>
1617
+ <stem>down</stem>
1618
+ <staff>2</staff>
1619
+ <voice>1</voice>
1620
+ </note>
1621
+ <note>
1622
+ <rest measure="yes"/>
1623
+ <duration>8</duration>
1624
+ <staff>1</staff>
1625
+ </note>
1626
+ <backup>
1627
+ <duration>8</duration>
1628
+ </backup>
1629
+ <note>
1630
+ <pitch>
1631
+ <step>F</step>
1632
+ <alter>1</alter>
1633
+ <octave>4</octave>
1634
+ </pitch>
1635
+ <duration>8</duration>
1636
+ <type>eighth</type>
1637
+ <stem>down</stem>
1638
+ <staff>1</staff>
1639
+ <voice>2</voice>
1640
+ </note>
1641
+ <note>
1642
+ <rest measure="yes"/>
1643
+ <duration>8</duration>
1644
+ <staff>2</staff>
1645
+ </note>
1646
+ <note>
1647
+ <pitch>
1648
+ <step>B</step>
1649
+ <alter>0</alter>
1650
+ <octave>1</octave>
1651
+ </pitch>
1652
+ <duration>24</duration>
1653
+ <type>quarter</type>
1654
+ <dot/>
1655
+ <stem>down</stem>
1656
+ <staff>1</staff>
1657
+ <voice>2</voice>
1658
+ </note>
1659
+ <note>
1660
+ <chord/>
1661
+ <pitch>
1662
+ <step>D</step>
1663
+ <alter>0</alter>
1664
+ <octave>2</octave>
1665
+ </pitch>
1666
+ <duration>24</duration>
1667
+ <type>quarter</type>
1668
+ <dot/>
1669
+ <stem>down</stem>
1670
+ <staff>1</staff>
1671
+ <voice>2</voice>
1672
+ </note>
1673
+ <backup>
1674
+ <duration>24</duration>
1675
+ </backup>
1676
+ <note>
1677
+ <pitch>
1678
+ <step>D</step>
1679
+ <alter>0</alter>
1680
+ <octave>3</octave>
1681
+ </pitch>
1682
+ <duration>16</duration>
1683
+ <type>quarter</type>
1684
+ <stem>up</stem>
1685
+ <staff>2</staff>
1686
+ <voice>1</voice>
1687
+ </note>
1688
+ <note>
1689
+ <chord/>
1690
+ <pitch>
1691
+ <step>D</step>
1692
+ <alter>0</alter>
1693
+ <octave>2</octave>
1694
+ </pitch>
1695
+ <duration>16</duration>
1696
+ <type>quarter</type>
1697
+ <stem>up</stem>
1698
+ <staff>2</staff>
1699
+ <voice>1</voice>
1700
+ </note>
1701
+ <backup>
1702
+ <duration>16</duration>
1703
+ </backup>
1704
+ <note>
1705
+ <pitch>
1706
+ <step>A</step>
1707
+ <alter>0</alter>
1708
+ <octave>2</octave>
1709
+ </pitch>
1710
+ <duration>8</duration>
1711
+ <type>eighth</type>
1712
+ <stem>up</stem>
1713
+ <staff>1</staff>
1714
+ <voice>1</voice>
1715
+ </note>
1716
+ <note>
1717
+ <pitch>
1718
+ <step>G</step>
1719
+ <alter>0</alter>
1720
+ <octave>2</octave>
1721
+ </pitch>
1722
+ <duration>8</duration>
1723
+ <type>eighth</type>
1724
+ <stem>up</stem>
1725
+ <staff>1</staff>
1726
+ <voice>1</voice>
1727
+ </note>
1728
+ </measure>
1729
+ <measure number="9">
1730
+ <print new-system="yes"/>
1731
+ <attributes>
1732
+ <clef number="1">
1733
+ <sign>G</sign>
1734
+ <line>2</line>
1735
+ </clef>
1736
+ </attributes>
1737
+ <attributes>
1738
+ <key>
1739
+ <fifths>3</fifths>
1740
+ </key>
1741
+ </attributes>
1742
+ <note>
1743
+ <pitch>
1744
+ <step>B</step>
1745
+ <alter>0</alter>
1746
+ <octave>4</octave>
1747
+ </pitch>
1748
+ <duration>8</duration>
1749
+ <type>eighth</type>
1750
+ <stem>up</stem>
1751
+ <staff>1</staff>
1752
+ <voice>1</voice>
1753
+ </note>
1754
+ <backup>
1755
+ <duration>8</duration>
1756
+ </backup>
1757
+ <note>
1758
+ <pitch>
1759
+ <step>F</step>
1760
+ <alter>1</alter>
1761
+ <octave>3</octave>
1762
+ </pitch>
1763
+ <duration>8</duration>
1764
+ <type>eighth</type>
1765
+ <stem>up</stem>
1766
+ <staff>2</staff>
1767
+ <voice>1</voice>
1768
+ </note>
1769
+ <backup>
1770
+ <duration>8</duration>
1771
+ </backup>
1772
+ <note>
1773
+ <pitch>
1774
+ <step>F</step>
1775
+ <alter>1</alter>
1776
+ <octave>4</octave>
1777
+ </pitch>
1778
+ <duration>8</duration>
1779
+ <type>eighth</type>
1780
+ <stem>up</stem>
1781
+ <staff>1</staff>
1782
+ <voice>2</voice>
1783
+ </note>
1784
+ <note>
1785
+ <chord/>
1786
+ <pitch>
1787
+ <step>D</step>
1788
+ <alter>0</alter>
1789
+ <octave>4</octave>
1790
+ </pitch>
1791
+ <duration>8</duration>
1792
+ <type>eighth</type>
1793
+ <stem>up</stem>
1794
+ <staff>1</staff>
1795
+ <voice>2</voice>
1796
+ </note>
1797
+ <note>
1798
+ <pitch>
1799
+ <step>G</step>
1800
+ <alter>1</alter>
1801
+ <octave>2</octave>
1802
+ </pitch>
1803
+ <duration>8</duration>
1804
+ <type>eighth</type>
1805
+ <stem>up</stem>
1806
+ <staff>2</staff>
1807
+ <voice>1</voice>
1808
+ </note>
1809
+ <backup>
1810
+ <duration>8</duration>
1811
+ </backup>
1812
+ <note>
1813
+ <pitch>
1814
+ <step>B</step>
1815
+ <alter>0</alter>
1816
+ <octave>4</octave>
1817
+ </pitch>
1818
+ <duration>8</duration>
1819
+ <type>eighth</type>
1820
+ <stem>up</stem>
1821
+ <staff>1</staff>
1822
+ <voice>1</voice>
1823
+ </note>
1824
+ <note>
1825
+ <rest measure="yes"/>
1826
+ <duration>12</duration>
1827
+ <dot/>
1828
+ <staff>1</staff>
1829
+ </note>
1830
+ <backup>
1831
+ <duration>12</duration>
1832
+ </backup>
1833
+ <note>
1834
+ <rest measure="yes"/>
1835
+ <duration>12</duration>
1836
+ <dot/>
1837
+ <staff>2</staff>
1838
+ </note>
1839
+ <note>
1840
+ <pitch>
1841
+ <step>B</step>
1842
+ <alter>0</alter>
1843
+ <octave>2</octave>
1844
+ </pitch>
1845
+ <duration>8</duration>
1846
+ <type>eighth</type>
1847
+ <stem>up</stem>
1848
+ <staff>2</staff>
1849
+ <voice>1</voice>
1850
+ </note>
1851
+ <backup>
1852
+ <duration>8</duration>
1853
+ </backup>
1854
+ <note>
1855
+ <pitch>
1856
+ <step>G</step>
1857
+ <alter>1</alter>
1858
+ <octave>3</octave>
1859
+ </pitch>
1860
+ <duration>8</duration>
1861
+ <type>eighth</type>
1862
+ <stem>up</stem>
1863
+ <staff>1</staff>
1864
+ <voice>1</voice>
1865
+ </note>
1866
+ <note>
1867
+ <chord/>
1868
+ <pitch>
1869
+ <step>B</step>
1870
+ <alter>0</alter>
1871
+ <octave>3</octave>
1872
+ </pitch>
1873
+ <duration>8</duration>
1874
+ <type>eighth</type>
1875
+ <stem>up</stem>
1876
+ <staff>1</staff>
1877
+ <voice>1</voice>
1878
+ </note>
1879
+ <note>
1880
+ <chord/>
1881
+ <pitch>
1882
+ <step>E</step>
1883
+ <alter>1</alter>
1884
+ <octave>4</octave>
1885
+ </pitch>
1886
+ <duration>8</duration>
1887
+ <type>eighth</type>
1888
+ <stem>up</stem>
1889
+ <staff>1</staff>
1890
+ <voice>1</voice>
1891
+ </note>
1892
+ <note>
1893
+ <pitch>
1894
+ <step>C</step>
1895
+ <alter>1</alter>
1896
+ <octave>2</octave>
1897
+ </pitch>
1898
+ <duration>8</duration>
1899
+ <type>eighth</type>
1900
+ <stem>up</stem>
1901
+ <staff>2</staff>
1902
+ <voice>1</voice>
1903
+ </note>
1904
+ <backup>
1905
+ <duration>8</duration>
1906
+ </backup>
1907
+ <note>
1908
+ <pitch>
1909
+ <step>E</step>
1910
+ <alter>0</alter>
1911
+ <octave>4</octave>
1912
+ </pitch>
1913
+ <duration>8</duration>
1914
+ <type>eighth</type>
1915
+ <stem>up</stem>
1916
+ <staff>1</staff>
1917
+ <voice>1</voice>
1918
+ </note>
1919
+ <note>
1920
+ <rest measure="yes"/>
1921
+ <duration>8</duration>
1922
+ <staff>1</staff>
1923
+ </note>
1924
+ <backup>
1925
+ <duration>8</duration>
1926
+ </backup>
1927
+ <note>
1928
+ <rest measure="yes"/>
1929
+ <duration>8</duration>
1930
+ <staff>2</staff>
1931
+ </note>
1932
+ </measure>
1933
+ <measure number="10">
1934
+ <note>
1935
+ <pitch>
1936
+ <step>D</step>
1937
+ <alter>0</alter>
1938
+ <octave>4</octave>
1939
+ </pitch>
1940
+ <duration>16</duration>
1941
+ <type>quarter</type>
1942
+ <stem>up</stem>
1943
+ <staff>1</staff>
1944
+ <voice>1</voice>
1945
+ </note>
1946
+ <note>
1947
+ <chord/>
1948
+ <pitch>
1949
+ <step>F</step>
1950
+ <alter>1</alter>
1951
+ <octave>4</octave>
1952
+ </pitch>
1953
+ <duration>16</duration>
1954
+ <type>quarter</type>
1955
+ <stem>up</stem>
1956
+ <staff>1</staff>
1957
+ <voice>1</voice>
1958
+ </note>
1959
+ <note>
1960
+ <chord/>
1961
+ <pitch>
1962
+ <step>B</step>
1963
+ <alter>0</alter>
1964
+ <octave>4</octave>
1965
+ </pitch>
1966
+ <duration>16</duration>
1967
+ <type>quarter</type>
1968
+ <stem>up</stem>
1969
+ <staff>1</staff>
1970
+ <voice>1</voice>
1971
+ </note>
1972
+ <backup>
1973
+ <duration>16</duration>
1974
+ </backup>
1975
+ <note>
1976
+ <pitch>
1977
+ <step>F</step>
1978
+ <alter>1</alter>
1979
+ <octave>3</octave>
1980
+ </pitch>
1981
+ <duration>16</duration>
1982
+ <type>quarter</type>
1983
+ <stem>up</stem>
1984
+ <staff>2</staff>
1985
+ <voice>1</voice>
1986
+ </note>
1987
+ <note>
1988
+ <pitch>
1989
+ <step>G</step>
1990
+ <alter>1</alter>
1991
+ <octave>2</octave>
1992
+ </pitch>
1993
+ <duration>8</duration>
1994
+ <type>eighth</type>
1995
+ <stem>up</stem>
1996
+ <staff>2</staff>
1997
+ <voice>1</voice>
1998
+ </note>
1999
+ <backup>
2000
+ <duration>8</duration>
2001
+ </backup>
2002
+ <note>
2003
+ <pitch>
2004
+ <step>B</step>
2005
+ <alter>0</alter>
2006
+ <octave>4</octave>
2007
+ </pitch>
2008
+ <duration>8</duration>
2009
+ <type>eighth</type>
2010
+ <stem>up</stem>
2011
+ <staff>1</staff>
2012
+ <voice>1</voice>
2013
+ </note>
2014
+ <note>
2015
+ <rest measure="yes"/>
2016
+ <duration>12</duration>
2017
+ <dot/>
2018
+ <staff>1</staff>
2019
+ </note>
2020
+ <backup>
2021
+ <duration>12</duration>
2022
+ </backup>
2023
+ <note>
2024
+ <rest measure="yes"/>
2025
+ <duration>12</duration>
2026
+ <dot/>
2027
+ <staff>2</staff>
2028
+ </note>
2029
+ <note>
2030
+ <pitch>
2031
+ <step>E</step>
2032
+ <alter>0</alter>
2033
+ <octave>3</octave>
2034
+ </pitch>
2035
+ <duration>16</duration>
2036
+ <type>quarter</type>
2037
+ <stem>down</stem>
2038
+ <staff>2</staff>
2039
+ <voice>1</voice>
2040
+ </note>
2041
+ <note>
2042
+ <chord/>
2043
+ <pitch>
2044
+ <step>G</step>
2045
+ <alter>1</alter>
2046
+ <octave>2</octave>
2047
+ </pitch>
2048
+ <duration>16</duration>
2049
+ <type>quarter</type>
2050
+ <stem>down</stem>
2051
+ <staff>2</staff>
2052
+ <voice>1</voice>
2053
+ </note>
2054
+ <note>
2055
+ <chord/>
2056
+ <pitch>
2057
+ <step>B</step>
2058
+ <alter>0</alter>
2059
+ <octave>3</octave>
2060
+ </pitch>
2061
+ <duration>16</duration>
2062
+ <type>quarter</type>
2063
+ <stem>down</stem>
2064
+ <staff>2</staff>
2065
+ <voice>1</voice>
2066
+ </note>
2067
+ <backup>
2068
+ <duration>16</duration>
2069
+ </backup>
2070
+ <note>
2071
+ <pitch>
2072
+ <step>D</step>
2073
+ <alter>0</alter>
2074
+ <octave>5</octave>
2075
+ </pitch>
2076
+ <duration>8</duration>
2077
+ <type>eighth</type>
2078
+ <stem>up</stem>
2079
+ <staff>1</staff>
2080
+ <voice>1</voice>
2081
+ </note>
2082
+ <backup>
2083
+ <duration>8</duration>
2084
+ </backup>
2085
+ <note>
2086
+ <pitch>
2087
+ <step>B</step>
2088
+ <alter>1</alter>
2089
+ <octave>4</octave>
2090
+ </pitch>
2091
+ <duration>16</duration>
2092
+ <type>quarter</type>
2093
+ <stem>down</stem>
2094
+ <staff>1</staff>
2095
+ <voice>2</voice>
2096
+ </note>
2097
+ <note>
2098
+ <chord/>
2099
+ <pitch>
2100
+ <step>E</step>
2101
+ <alter>0</alter>
2102
+ <octave>4</octave>
2103
+ </pitch>
2104
+ <duration>16</duration>
2105
+ <type>quarter</type>
2106
+ <stem>down</stem>
2107
+ <staff>1</staff>
2108
+ <voice>2</voice>
2109
+ </note>
2110
+ <backup>
2111
+ <duration>8</duration>
2112
+ </backup>
2113
+ <note>
2114
+ <pitch>
2115
+ <step>C</step>
2116
+ <alter>1</alter>
2117
+ <octave>5</octave>
2118
+ </pitch>
2119
+ <duration>8</duration>
2120
+ <type>eighth</type>
2121
+ <stem>up</stem>
2122
+ <staff>1</staff>
2123
+ <voice>1</voice>
2124
+ </note>
2125
+ </measure>
2126
+ <measure number="11">
2127
+ <note>
2128
+ <pitch>
2129
+ <step>G</step>
2130
+ <alter>0</alter>
2131
+ <octave>3</octave>
2132
+ </pitch>
2133
+ <duration>8</duration>
2134
+ <type>eighth</type>
2135
+ <stem>down</stem>
2136
+ <staff>2</staff>
2137
+ <voice>1</voice>
2138
+ </note>
2139
+ <backup>
2140
+ <duration>8</duration>
2141
+ </backup>
2142
+ <note>
2143
+ <pitch>
2144
+ <step>E</step>
2145
+ <alter>0</alter>
2146
+ <octave>4</octave>
2147
+ </pitch>
2148
+ <duration>8</duration>
2149
+ <type>eighth</type>
2150
+ <stem>up</stem>
2151
+ <staff>1</staff>
2152
+ <voice>1</voice>
2153
+ </note>
2154
+ <note>
2155
+ <chord/>
2156
+ <pitch>
2157
+ <step>G</step>
2158
+ <alter>0</alter>
2159
+ <octave>4</octave>
2160
+ </pitch>
2161
+ <duration>8</duration>
2162
+ <type>eighth</type>
2163
+ <stem>up</stem>
2164
+ <staff>1</staff>
2165
+ <voice>1</voice>
2166
+ </note>
2167
+ <note>
2168
+ <chord/>
2169
+ <pitch>
2170
+ <step>C</step>
2171
+ <alter>1</alter>
2172
+ <octave>5</octave>
2173
+ </pitch>
2174
+ <duration>8</duration>
2175
+ <type>eighth</type>
2176
+ <stem>up</stem>
2177
+ <staff>1</staff>
2178
+ <voice>1</voice>
2179
+ </note>
2180
+ <note>
2181
+ <pitch>
2182
+ <step>A</step>
2183
+ <alter>0</alter>
2184
+ <octave>2</octave>
2185
+ </pitch>
2186
+ <duration>8</duration>
2187
+ <type>eighth</type>
2188
+ <stem>down</stem>
2189
+ <staff>2</staff>
2190
+ <voice>1</voice>
2191
+ </note>
2192
+ <backup>
2193
+ <duration>8</duration>
2194
+ </backup>
2195
+ <note>
2196
+ <pitch>
2197
+ <step>C</step>
2198
+ <alter>0</alter>
2199
+ <octave>5</octave>
2200
+ </pitch>
2201
+ <duration>8</duration>
2202
+ <type>eighth</type>
2203
+ <stem>up</stem>
2204
+ <staff>1</staff>
2205
+ <voice>1</voice>
2206
+ </note>
2207
+ <note>
2208
+ <rest measure="yes"/>
2209
+ <duration>8</duration>
2210
+ <staff>1</staff>
2211
+ </note>
2212
+ <backup>
2213
+ <duration>8</duration>
2214
+ </backup>
2215
+ <note>
2216
+ <rest measure="yes"/>
2217
+ <duration>8</duration>
2218
+ <staff>2</staff>
2219
+ </note>
2220
+ <note>
2221
+ <pitch>
2222
+ <step>D</step>
2223
+ <alter>0</alter>
2224
+ <octave>3</octave>
2225
+ </pitch>
2226
+ <duration>8</duration>
2227
+ <type>eighth</type>
2228
+ <stem>up</stem>
2229
+ <staff>2</staff>
2230
+ <voice>1</voice>
2231
+ </note>
2232
+ <backup>
2233
+ <duration>8</duration>
2234
+ </backup>
2235
+ <note>
2236
+ <pitch>
2237
+ <step>G</step>
2238
+ <alter>0</alter>
2239
+ <octave>4</octave>
2240
+ </pitch>
2241
+ <duration>8</duration>
2242
+ <type>eighth</type>
2243
+ <stem>up</stem>
2244
+ <staff>1</staff>
2245
+ <voice>1</voice>
2246
+ </note>
2247
+ <note>
2248
+ <chord/>
2249
+ <pitch>
2250
+ <step>D</step>
2251
+ <alter>0</alter>
2252
+ <octave>4</octave>
2253
+ </pitch>
2254
+ <duration>8</duration>
2255
+ <type>eighth</type>
2256
+ <stem>up</stem>
2257
+ <staff>1</staff>
2258
+ <voice>1</voice>
2259
+ </note>
2260
+ <note>
2261
+ <pitch>
2262
+ <step>E</step>
2263
+ <alter>0</alter>
2264
+ <octave>2</octave>
2265
+ </pitch>
2266
+ <duration>8</duration>
2267
+ <type>eighth</type>
2268
+ <stem>up</stem>
2269
+ <staff>2</staff>
2270
+ <voice>1</voice>
2271
+ </note>
2272
+ <backup>
2273
+ <duration>8</duration>
2274
+ </backup>
2275
+ <note>
2276
+ <pitch>
2277
+ <step>G</step>
2278
+ <alter>0</alter>
2279
+ <octave>4</octave>
2280
+ </pitch>
2281
+ <duration>8</duration>
2282
+ <type>eighth</type>
2283
+ <stem>up</stem>
2284
+ <staff>1</staff>
2285
+ <voice>1</voice>
2286
+ </note>
2287
+ <note>
2288
+ <rest measure="yes"/>
2289
+ <duration>8</duration>
2290
+ <staff>1</staff>
2291
+ </note>
2292
+ <backup>
2293
+ <duration>8</duration>
2294
+ </backup>
2295
+ <note>
2296
+ <rest measure="yes"/>
2297
+ <duration>8</duration>
2298
+ <staff>2</staff>
2299
+ </note>
2300
+ </measure>
2301
+ <measure number="12">
2302
+ <note>
2303
+ <rest measure="yes"/>
2304
+ <duration>8</duration>
2305
+ <staff>2</staff>
2306
+ </note>
2307
+ <backup>
2308
+ <duration>8</duration>
2309
+ </backup>
2310
+ <note>
2311
+ <pitch>
2312
+ <step>E</step>
2313
+ <alter>1</alter>
2314
+ <octave>4</octave>
2315
+ </pitch>
2316
+ <duration>16</duration>
2317
+ <type>quarter</type>
2318
+ <stem>up</stem>
2319
+ <staff>1</staff>
2320
+ <voice>1</voice>
2321
+ </note>
2322
+ <note>
2323
+ <chord/>
2324
+ <pitch>
2325
+ <step>G</step>
2326
+ <alter>1</alter>
2327
+ <octave>4</octave>
2328
+ </pitch>
2329
+ <duration>16</duration>
2330
+ <type>quarter</type>
2331
+ <stem>up</stem>
2332
+ <staff>1</staff>
2333
+ <voice>1</voice>
2334
+ </note>
2335
+ <note>
2336
+ <chord/>
2337
+ <pitch>
2338
+ <step>C</step>
2339
+ <alter>1</alter>
2340
+ <octave>5</octave>
2341
+ </pitch>
2342
+ <duration>16</duration>
2343
+ <type>quarter</type>
2344
+ <stem>up</stem>
2345
+ <staff>1</staff>
2346
+ <voice>1</voice>
2347
+ </note>
2348
+ <backup>
2349
+ <duration>16</duration>
2350
+ </backup>
2351
+ <note>
2352
+ <rest measure="yes"/>
2353
+ <duration>32</duration>
2354
+ <staff>2</staff>
2355
+ </note>
2356
+ <note>
2357
+ <pitch>
2358
+ <step>G</step>
2359
+ <alter>1</alter>
2360
+ <octave>3</octave>
2361
+ </pitch>
2362
+ <duration>8</duration>
2363
+ <type>eighth</type>
2364
+ <stem>down</stem>
2365
+ <staff>2</staff>
2366
+ <voice>1</voice>
2367
+ </note>
2368
+ <note>
2369
+ <pitch>
2370
+ <step>A</step>
2371
+ <alter>0</alter>
2372
+ <octave>2</octave>
2373
+ </pitch>
2374
+ <duration>8</duration>
2375
+ <type>eighth</type>
2376
+ <stem>down</stem>
2377
+ <staff>2</staff>
2378
+ <voice>1</voice>
2379
+ </note>
2380
+ <backup>
2381
+ <duration>8</duration>
2382
+ </backup>
2383
+ <note>
2384
+ <pitch>
2385
+ <step>C</step>
2386
+ <alter>0</alter>
2387
+ <octave>5</octave>
2388
+ </pitch>
2389
+ <duration>8</duration>
2390
+ <type>eighth</type>
2391
+ <stem>up</stem>
2392
+ <staff>1</staff>
2393
+ <voice>1</voice>
2394
+ </note>
2395
+ <note>
2396
+ <rest measure="yes"/>
2397
+ <duration>8</duration>
2398
+ <staff>1</staff>
2399
+ </note>
2400
+ <note>
2401
+ <rest measure="yes"/>
2402
+ <duration>8</duration>
2403
+ <staff>2</staff>
2404
+ </note>
2405
+ <note>
2406
+ <rest measure="yes"/>
2407
+ <duration>8</duration>
2408
+ <staff>1</staff>
2409
+ </note>
2410
+ <backup>
2411
+ <duration>8</duration>
2412
+ </backup>
2413
+ <note>
2414
+ <rest measure="yes"/>
2415
+ <duration>16</duration>
2416
+ <staff>1</staff>
2417
+ </note>
2418
+ <backup>
2419
+ <duration>8</duration>
2420
+ </backup>
2421
+ <note>
2422
+ <rest measure="yes"/>
2423
+ <duration>8</duration>
2424
+ <staff>2</staff>
2425
+ </note>
2426
+ <note>
2427
+ <pitch>
2428
+ <step>C</step>
2429
+ <alter>0</alter>
2430
+ <octave>4</octave>
2431
+ </pitch>
2432
+ <duration>16</duration>
2433
+ <type>quarter</type>
2434
+ <stem>down</stem>
2435
+ <staff>2</staff>
2436
+ <voice>1</voice>
2437
+ </note>
2438
+ <note>
2439
+ <chord/>
2440
+ <pitch>
2441
+ <step>A</step>
2442
+ <alter>0</alter>
2443
+ <octave>2</octave>
2444
+ </pitch>
2445
+ <duration>16</duration>
2446
+ <type>quarter</type>
2447
+ <stem>down</stem>
2448
+ <staff>2</staff>
2449
+ <voice>1</voice>
2450
+ </note>
2451
+ <note>
2452
+ <chord/>
2453
+ <pitch>
2454
+ <step>F</step>
2455
+ <alter>1</alter>
2456
+ <octave>3</octave>
2457
+ </pitch>
2458
+ <duration>16</duration>
2459
+ <type>quarter</type>
2460
+ <stem>down</stem>
2461
+ <staff>2</staff>
2462
+ <voice>1</voice>
2463
+ </note>
2464
+ <backup>
2465
+ <duration>16</duration>
2466
+ </backup>
2467
+ <note>
2468
+ <pitch>
2469
+ <step>E</step>
2470
+ <alter>1</alter>
2471
+ <octave>5</octave>
2472
+ </pitch>
2473
+ <duration>12</duration>
2474
+ <type>eighth</type>
2475
+ <dot/>
2476
+ <stem>up</stem>
2477
+ <staff>1</staff>
2478
+ <voice>1</voice>
2479
+ </note>
2480
+ <backup>
2481
+ <duration>12</duration>
2482
+ </backup>
2483
+ <note>
2484
+ <pitch>
2485
+ <step>C</step>
2486
+ <alter>0</alter>
2487
+ <octave>5</octave>
2488
+ </pitch>
2489
+ <duration>16</duration>
2490
+ <type>quarter</type>
2491
+ <stem>down</stem>
2492
+ <staff>1</staff>
2493
+ <voice>2</voice>
2494
+ </note>
2495
+ <note>
2496
+ <chord/>
2497
+ <pitch>
2498
+ <step>F</step>
2499
+ <alter>1</alter>
2500
+ <octave>4</octave>
2501
+ </pitch>
2502
+ <duration>16</duration>
2503
+ <type>quarter</type>
2504
+ <stem>down</stem>
2505
+ <staff>1</staff>
2506
+ <voice>2</voice>
2507
+ </note>
2508
+ <backup>
2509
+ <duration>4</duration>
2510
+ </backup>
2511
+ <note>
2512
+ <rest measure="yes"/>
2513
+ <duration>8</duration>
2514
+ <staff>2</staff>
2515
+ </note>
2516
+ <backup>
2517
+ <duration>8</duration>
2518
+ </backup>
2519
+ <note>
2520
+ <pitch>
2521
+ <step>D</step>
2522
+ <alter>1</alter>
2523
+ <octave>5</octave>
2524
+ </pitch>
2525
+ <duration>12</duration>
2526
+ <type>eighth</type>
2527
+ <dot/>
2528
+ <stem>up</stem>
2529
+ <staff>1</staff>
2530
+ <voice>1</voice>
2531
+ </note>
2532
+ </measure>
2533
+ <measure number="13">
2534
+ <attributes>
2535
+ <clef number="1">
2536
+ <sign>F</sign>
2537
+ <line>4</line>
2538
+ </clef>
2539
+ </attributes>
2540
+ <note>
2541
+ <pitch>
2542
+ <step>A</step>
2543
+ <alter>0</alter>
2544
+ <octave>3</octave>
2545
+ </pitch>
2546
+ <duration>12</duration>
2547
+ <type>eighth</type>
2548
+ <dot/>
2549
+ <stem>down</stem>
2550
+ <staff>2</staff>
2551
+ <voice>1</voice>
2552
+ </note>
2553
+ <backup>
2554
+ <duration>12</duration>
2555
+ </backup>
2556
+ <note>
2557
+ <pitch>
2558
+ <step>C</step>
2559
+ <alter>1</alter>
2560
+ <octave>3</octave>
2561
+ </pitch>
2562
+ <duration>12</duration>
2563
+ <type>eighth</type>
2564
+ <dot/>
2565
+ <stem>up</stem>
2566
+ <staff>1</staff>
2567
+ <voice>1</voice>
2568
+ </note>
2569
+ <note>
2570
+ <chord/>
2571
+ <pitch>
2572
+ <step>A</step>
2573
+ <alter>0</alter>
2574
+ <octave>2</octave>
2575
+ </pitch>
2576
+ <duration>12</duration>
2577
+ <type>eighth</type>
2578
+ <dot/>
2579
+ <stem>up</stem>
2580
+ <staff>1</staff>
2581
+ <voice>1</voice>
2582
+ </note>
2583
+ <note>
2584
+ <chord/>
2585
+ <pitch>
2586
+ <step>F</step>
2587
+ <alter>1</alter>
2588
+ <octave>3</octave>
2589
+ </pitch>
2590
+ <duration>12</duration>
2591
+ <type>eighth</type>
2592
+ <dot/>
2593
+ <stem>up</stem>
2594
+ <staff>1</staff>
2595
+ <voice>1</voice>
2596
+ </note>
2597
+ <note>
2598
+ <pitch>
2599
+ <step>B</step>
2600
+ <alter>0</alter>
2601
+ <octave>2</octave>
2602
+ </pitch>
2603
+ <duration>8</duration>
2604
+ <type>eighth</type>
2605
+ <stem>down</stem>
2606
+ <staff>2</staff>
2607
+ <voice>1</voice>
2608
+ </note>
2609
+ <backup>
2610
+ <duration>8</duration>
2611
+ </backup>
2612
+ <note>
2613
+ <pitch>
2614
+ <step>F</step>
2615
+ <alter>0</alter>
2616
+ <octave>3</octave>
2617
+ </pitch>
2618
+ <duration>8</duration>
2619
+ <type>eighth</type>
2620
+ <stem>up</stem>
2621
+ <staff>1</staff>
2622
+ <voice>1</voice>
2623
+ </note>
2624
+ <note>
2625
+ <rest measure="yes"/>
2626
+ <duration>12</duration>
2627
+ <dot/>
2628
+ <staff>1</staff>
2629
+ </note>
2630
+ <backup>
2631
+ <duration>12</duration>
2632
+ </backup>
2633
+ <note>
2634
+ <rest measure="yes"/>
2635
+ <duration>12</duration>
2636
+ <dot/>
2637
+ <staff>2</staff>
2638
+ </note>
2639
+ <note>
2640
+ <pitch>
2641
+ <step>E</step>
2642
+ <alter>0</alter>
2643
+ <octave>4</octave>
2644
+ </pitch>
2645
+ <duration>12</duration>
2646
+ <type>eighth</type>
2647
+ <dot/>
2648
+ <stem>down</stem>
2649
+ <staff>2</staff>
2650
+ <voice>1</voice>
2651
+ </note>
2652
+ <backup>
2653
+ <duration>12</duration>
2654
+ </backup>
2655
+ <note>
2656
+ <pitch>
2657
+ <step>G</step>
2658
+ <alter>1</alter>
2659
+ <octave>3</octave>
2660
+ </pitch>
2661
+ <duration>12</duration>
2662
+ <type>eighth</type>
2663
+ <dot/>
2664
+ <stem>down</stem>
2665
+ <staff>1</staff>
2666
+ <voice>1</voice>
2667
+ </note>
2668
+ <note>
2669
+ <chord/>
2670
+ <pitch>
2671
+ <step>E</step>
2672
+ <alter>0</alter>
2673
+ <octave>3</octave>
2674
+ </pitch>
2675
+ <duration>12</duration>
2676
+ <type>eighth</type>
2677
+ <dot/>
2678
+ <stem>down</stem>
2679
+ <staff>1</staff>
2680
+ <voice>1</voice>
2681
+ </note>
2682
+ <note>
2683
+ <chord/>
2684
+ <pitch>
2685
+ <step>C</step>
2686
+ <alter>0</alter>
2687
+ <octave>4</octave>
2688
+ </pitch>
2689
+ <duration>12</duration>
2690
+ <type>eighth</type>
2691
+ <dot/>
2692
+ <stem>down</stem>
2693
+ <staff>1</staff>
2694
+ <voice>1</voice>
2695
+ </note>
2696
+ <note>
2697
+ <pitch>
2698
+ <step>C</step>
2699
+ <alter>0</alter>
2700
+ <octave>4</octave>
2701
+ </pitch>
2702
+ <duration>8</duration>
2703
+ <type>eighth</type>
2704
+ <stem>down</stem>
2705
+ <staff>1</staff>
2706
+ <voice>1</voice>
2707
+ </note>
2708
+ <backup>
2709
+ <duration>8</duration>
2710
+ </backup>
2711
+ <note>
2712
+ <pitch>
2713
+ <step>F</step>
2714
+ <alter>0</alter>
2715
+ <octave>3</octave>
2716
+ </pitch>
2717
+ <duration>8</duration>
2718
+ <type>eighth</type>
2719
+ <stem>down</stem>
2720
+ <staff>2</staff>
2721
+ <voice>1</voice>
2722
+ </note>
2723
+ </measure>
2724
+ </part>
2725
+ </score-partwise>
output_teaser.png ADDED

Git LFS Details

  • SHA256: 6c35155a0c632c11362d5b59f83cf9ce82cc4d609fd64405ac2c41ea549fd840
  • Pointer size: 131 Bytes
  • Size of remote file: 633 kB
requirements.txt ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ certifi
2
+ chardet
3
+ charset-normalizer
4
+ coloredlogs
5
+ contourpy
6
+ cycler
7
+ flatbuffers
8
+ fonttools
9
+ humanfriendly
10
+ idna
11
+ joblib
12
+ jsonpickle
13
+ kiwisolver
14
+ matplotlib
15
+ more-itertools
16
+ mpmath
17
+ music21
18
+ numpy
19
+ oemer
20
+ opencv-python-headless
21
+ packaging
22
+ pillow
23
+ protobuf
24
+ pygame
25
+ pyparsing
26
+ pyreadline3
27
+ python-dateutil
28
+ requests
29
+ scikit-learn
30
+ scipy
31
+ setuptools
32
+ six
33
+ sympy
34
+ threadpoolctl
35
+ types-Pillow
36
+ types-protobuf
37
+ types-requests
38
+ types-tensorflow
39
+ typing-extensions
40
+ urllib3
41
+ webcolors
42
+ opencv-python
43
+ onnxruntime
44
+ fastapi
45
+ uvicorn
46
+ python-multipart
src/__init__.py ADDED
File without changes
src/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (142 Bytes). View file
 
src/__pycache__/main.cpython-312.pyc ADDED
Binary file (2.34 kB). View file
 
src/__pycache__/prototype.cpython-312.pyc ADDED
Binary file (2.92 kB). View file
 
src/cam.py ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import cv2
2
+ import uuid
3
+ import os
4
+ import subprocess
5
+ from music21 import converter
6
+ import pygame
7
+
8
+ # Define paths
9
+ captured_image = f"captured_{uuid.uuid4().hex[:6]}.png"
10
+ musicxml_output = "output.musicxml"
11
+ midi_output = "output.mid"
12
+
13
+ # Capture image from webcam
14
+ def capture_sheet_music_image():
15
+ cap = cv2.VideoCapture(0)
16
+ print("📷 Press SPACE to capture sheet music, or ESC to exit.")
17
+ while True:
18
+ ret, frame = cap.read()
19
+ if not ret:
20
+ break
21
+ cv2.imshow("Sheet Music Capture", frame)
22
+ key = cv2.waitKey(1)
23
+ if key % 256 == 27: # ESC
24
+ print("❌ Capture canceled.")
25
+ break
26
+ elif key % 256 == 32: # SPACE
27
+ cv2.imwrite(captured_image, frame)
28
+ print(f"✅ Image saved as {captured_image}")
29
+ break
30
+ cap.release()
31
+ cv2.destroyAllWindows()
32
+
33
+ # Process with OMR (oemer)
34
+ def run_omr(image_path):
35
+ command = f'oemer "{image_path}" -o {musicxml_output}'
36
+ try:
37
+ subprocess.run(command, shell=True, check=True)
38
+ print(f"✅ MusicXML generated: {musicxml_output}")
39
+ except subprocess.CalledProcessError as e:
40
+ print(f"⚠️ OMR failed: {e}")
41
+
42
+ # Convert to MIDI and play
43
+ def convert_and_play_music(musicxml_file, midi_file):
44
+ try:
45
+ score = converter.parse(musicxml_file)
46
+ score.write('midi', fp=midi_file)
47
+ print(f"🎼 MIDI generated: {midi_file}")
48
+ pygame.mixer.init()
49
+ pygame.mixer.music.load(midi_file)
50
+ pygame.mixer.music.play()
51
+ while pygame.mixer.music.get_busy():
52
+ pygame.time.Clock().tick(10)
53
+ except Exception as e:
54
+ print(f"⚠️ Error in MIDI playback: {e}")
55
+
56
+ # Main execution
57
+ if __name__ == "__main__":
58
+ capture_sheet_music_image()
59
+ if os.path.exists(captured_image):
60
+ run_omr(captured_image)
61
+ if os.path.exists(musicxml_output):
62
+ convert_and_play_music(musicxml_output, midi_output)
src/prototype.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import subprocess
3
+ import pygame
4
+ from music21 import converter, midi
5
+ import sys
6
+ from PIL import Image, ImageOps
7
+
8
+ # Define paths
9
+ UPLOAD_FOLDER = 'uploads'
10
+ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
11
+
12
+ # take the current directory as the working directory
13
+ path = os.getcwd()
14
+
15
+ output_xml_path = "output.musicxml"
16
+
17
+ def preprocess_image(image_path: str):
18
+ """
19
+ Preprocess the image if necessary (e.g., resizing, converting to grayscale).
20
+ This function can be expanded based on specific requirements.
21
+ """
22
+ img = Image.open(image_path).convert("L") # Grayscale
23
+ img = ImageOps.autocontrast(img) # Auto-contrast
24
+ preprocessed_path = os.path.join(UPLOAD_FOLDER, "preprocessed.png")
25
+ img.save(preprocessed_path)
26
+ print(f"Preprocessed image saved at: {preprocessed_path}")
27
+ return preprocessed_path
28
+
29
+ # Function to process the sheet music image using OMER
30
+ def process_sheet_music_image(image_path: str):
31
+ try:
32
+ # Command to run the oemer tool and generate MusicXML
33
+ command = f'oemer "{image_path}" -o {output_xml_path}'
34
+ subprocess.run(command, shell=True, check=True)
35
+ print(f"Successfully generated MusicXML at {output_xml_path}")
36
+ except subprocess.CalledProcessError as e:
37
+ print(f"Error during OMR processing: {e}")
38
+
39
+ # Function to play MIDI using pygame
40
+ def play_midi(midi_file):
41
+ if sys.platform == "win32":
42
+ print(f"Playing MIDI file on Windows: {midi_file}")
43
+ os.startfile(midi_file)
44
+ else:
45
+ subprocess.run(["open", midi_file])
46
+
47
+ # Convert MusicXML to MIDI using music21
48
+ def convert_musicxml_to_midi(musicxml_file, midi_file):
49
+ try:
50
+ score = converter.parse(musicxml_file)
51
+ score.write('midi', fp=midi_file)
52
+ print(f"Successfully converted MusicXML to MIDI: {midi_file}")
53
+ except Exception as e:
54
+ print(f"Error converting MusicXML to MIDI: {e}")
src/scanner.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import cv2
2
+ import numpy as np
3
+
4
+ def enhance_scanned_image(input_path, output_path="scanned_output.png"):
5
+ img = cv2.imread(input_path)
6
+ orig = img.copy()
7
+ gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
8
+ blur = cv2.GaussianBlur(gray, (5, 5), 0)
9
+ edged = cv2.Canny(blur, 75, 200)
10
+
11
+ # Find contours
12
+ contours, _ = cv2.findContours(edged, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
13
+ contours = sorted(contours, key=cv2.contourArea, reverse=True)
14
+
15
+ for c in contours:
16
+ peri = cv2.arcLength(c, True)
17
+ approx = cv2.approxPolyDP(c, 0.02 * peri, True)
18
+ if len(approx) == 4:
19
+ doc_cnt = approx
20
+ break
21
+ else:
22
+ print("⚠️ Document edges not found, using original image.")
23
+ doc_cnt = np.array([[[0,0]], [[img.shape[1],0]], [[img.shape[1], img.shape[0]]], [[0, img.shape[0]]]])
24
+
25
+ # Reorder points and apply perspective transform
26
+ def reorder(pts):
27
+ pts = pts.reshape(4, 2)
28
+ new_pts = np.zeros((4, 2), dtype="float32")
29
+ s = pts.sum(axis=1)
30
+ diff = np.diff(pts, axis=1)
31
+ new_pts[0] = pts[np.argmin(s)]
32
+ new_pts[2] = pts[np.argmax(s)]
33
+ new_pts[1] = pts[np.argmin(diff)]
34
+ new_pts[3] = pts[np.argmax(diff)]
35
+ return new_pts
36
+
37
+ pts1 = reorder(doc_cnt)
38
+ (tl, tr, br, bl) = pts1
39
+ width = max(np.linalg.norm(br - bl), np.linalg.norm(tr - tl))
40
+ height = max(np.linalg.norm(tr - br), np.linalg.norm(tl - bl))
41
+
42
+ pts2 = np.array([[0,0], [width-1,0], [width-1,height-1], [0,height-1]], dtype="float32")
43
+ matrix = cv2.getPerspectiveTransform(pts1, pts2)
44
+ scanned = cv2.warpPerspective(orig, matrix, (int(width), int(height)))
45
+
46
+ # Convert to grayscale and apply adaptive threshold for whitening
47
+ scanned_gray = cv2.cvtColor(scanned, cv2.COLOR_BGR2GRAY)
48
+ scanned_clean = cv2.adaptiveThreshold(scanned_gray, 255,
49
+ cv2.ADAPTIVE_THRESH_GAUSSIAN_C,
50
+ cv2.THRESH_BINARY, 11, 10)
51
+
52
+ cv2.imwrite(output_path, scanned_clean)
53
+ print(f"✅ Scanned image saved as {output_path}")
54
+ return output_path
src/sheet_music_processsor.py ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import subprocess
3
+ import uuid
4
+ import pygame
5
+ from music21 import converter, midi
6
+ import cv2
7
+ import numpy as np
8
+
9
+ # Path where files will be saved
10
+ UPLOAD_FOLDER = 'uploads'
11
+ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
12
+
13
+ # Function to capture an image from the webcam
14
+ def capture_sheet_music_image():
15
+ """
16
+ Capture a sheet music image using the webcam.
17
+ The image will be saved with a unique name.
18
+ """
19
+ captured_image = f"captured_{uuid.uuid4().hex[:6]}.png"
20
+ cap = cv2.VideoCapture(0)
21
+ print("📷 Press SPACE to capture sheet music, or ESC to exit.")
22
+ while True:
23
+ ret, frame = cap.read()
24
+ if not ret:
25
+ break
26
+ cv2.imshow("Sheet Music Capture", frame)
27
+ key = cv2.waitKey(1)
28
+ if key % 256 == 27: # ESC
29
+ print("❌ Capture canceled.")
30
+ break
31
+ elif key % 256 == 32: # SPACE
32
+ cv2.imwrite(os.path.join(UPLOAD_FOLDER, captured_image), frame)
33
+ print(f"✅ Image saved as {captured_image}")
34
+ break
35
+ cap.release()
36
+ cv2.destroyAllWindows()
37
+ return os.path.join(UPLOAD_FOLDER, captured_image)
38
+
39
+ # Function to enhance and clean up the scanned image
40
+ def enhance_scanned_image(input_path, output_path="scanned_output.png"):
41
+ """
42
+ Clean up the image, enhance contrast, and apply adaptive thresholding.
43
+ """
44
+ img = cv2.imread(input_path)
45
+ orig = img.copy()
46
+ gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
47
+ blur = cv2.GaussianBlur(gray, (5, 5), 0)
48
+ edged = cv2.Canny(blur, 75, 200)
49
+
50
+ contours, _ = cv2.findContours(edged, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
51
+ contours = sorted(contours, key=cv2.contourArea, reverse=True)
52
+
53
+ for c in contours:
54
+ peri = cv2.arcLength(c, True)
55
+ approx = cv2.approxPolyDP(c, 0.02 * peri, True)
56
+ if len(approx) == 4:
57
+ doc_cnt = approx
58
+ break
59
+ else:
60
+ print("⚠️ Document edges not found, using original image.")
61
+ doc_cnt = np.array([[[0,0]], [[img.shape[1],0]], [[img.shape[1], img.shape[0]]], [[0, img.shape[0]]]])
62
+
63
+ def reorder(pts):
64
+ pts = pts.reshape(4, 2)
65
+ new_pts = np.zeros((4, 2), dtype="float32")
66
+ s = pts.sum(axis=1)
67
+ diff = np.diff(pts, axis=1)
68
+ new_pts[0] = pts[np.argmin(s)]
69
+ new_pts[2] = pts[np.argmax(s)]
70
+ new_pts[1] = pts[np.argmin(diff)]
71
+ new_pts[3] = pts[np.argmax(diff)]
72
+ return new_pts
73
+
74
+ pts1 = reorder(doc_cnt)
75
+ (tl, tr, br, bl) = pts1
76
+ width = max(np.linalg.norm(br - bl), np.linalg.norm(tr - tl))
77
+ height = max(np.linalg.norm(tr - br), np.linalg.norm(tl - bl))
78
+
79
+ pts2 = np.array([[0,0], [width-1,0], [width-1,height-1], [0,height-1]], dtype="float32")
80
+ matrix = cv2.getPerspectiveTransform(pts1, pts2)
81
+ scanned = cv2.warpPerspective(orig, matrix, (int(width), int(height)))
82
+
83
+ scanned_gray = cv2.cvtColor(scanned, cv2.COLOR_BGR2GRAY)
84
+ scanned_clean = cv2.adaptiveThreshold(scanned_gray, 255,
85
+ cv2.ADAPTIVE_THRESH_GAUSSIAN_C,
86
+ cv2.THRESH_BINARY, 11, 10)
87
+
88
+ cv2.imwrite(output_path, scanned_clean)
89
+ print(f"✅ Scanned image saved as {output_path}")
90
+ return output_path
91
+
92
+ # Function to run OMR (Optical Music Recognition) with oemer
93
+ def run_omr(image_path, output_xml_path="output.musicxml"):
94
+ """
95
+ Use oemer to convert the scanned image to MusicXML.
96
+ """
97
+ command = f'oemer "{image_path}" -o {output_xml_path}'
98
+ try:
99
+ subprocess.run(command, shell=True, check=True)
100
+ print(f"✅ MusicXML generated: {output_xml_path}")
101
+ except subprocess.CalledProcessError as e:
102
+ print(f"⚠️ OMR failed: {e}")
103
+ return None
104
+ return output_xml_path
105
+
106
+ # Function to convert MusicXML to MIDI and play it
107
+ def convert_and_play_music(musicxml_file, midi_file="output.mid"):
108
+ """
109
+ Convert MusicXML to MIDI using music21 and play the MIDI file.
110
+ """
111
+ try:
112
+ score = converter.parse(musicxml_file)
113
+ score.write('midi', fp=midi_file)
114
+ print(f"🎼 MIDI generated: {midi_file}")
115
+ pygame.mixer.init()
116
+ pygame.mixer.music.load(midi_file)
117
+ pygame.mixer.music.play()
118
+ while pygame.mixer.music.get_busy():
119
+ pygame.time.Clock().tick(10)
120
+ except Exception as e:
121
+ print(f"⚠️ Error in MIDI playback: {e}")
122
+
123
+ # Main function to process the sheet music and generate audio
124
+ def process_and_play_sheet_music(image_path):
125
+ """
126
+ Complete flow: Capture image, preprocess, OMR, convert to MIDI, and play.
127
+ """
128
+ # Step 1: Enhance and clean the image
129
+ enhanced_image_path = enhance_scanned_image(image_path)
130
+
131
+ # Step 2: Run OMR to generate MusicXML
132
+ musicxml_path = run_omr(enhanced_image_path)
133
+ if not musicxml_path:
134
+ return "Error during OMR processing."
135
+
136
+ # Step 3: Convert MusicXML to MIDI
137
+ convert_and_play_music(musicxml_path)
138
+
139
+ # If running as a standalone script
140
+ if __name__ == "__main__":
141
+ # Capture and process an image (this can be skipped in a web app)
142
+ image_path = capture_sheet_music_image() # In a web app, this would come as a file upload
143
+ process_and_play_sheet_music(image_path)
uploads/preprocessed.png ADDED
uploads/temp_upload.png ADDED